From 96f6ef0a2c82aa4dac416f199189ec9c06cc8e48 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 30 Jun 2024 03:20:25 +0800 Subject: [PATCH 1/4] Fix trait usage downstream --- Project.toml | 2 +- src/StochasticDiffEq.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index f1f8ba5e3..1c1980cc9 100644 --- a/Project.toml +++ b/Project.toml @@ -45,7 +45,7 @@ LinearAlgebra = "1.6" Logging = "1.6" MuladdMacro = "0.2.1" NLsolve = "4" -OrdinaryDiffEq = "6.52" +OrdinaryDiffEq = "6.85" Random = "1.6" RandomNumbers = "1.5.3" RecursiveArrayTools = "2, 3" diff --git a/src/StochasticDiffEq.jl b/src/StochasticDiffEq.jl index 61cff9659..d9cc79d32 100644 --- a/src/StochasticDiffEq.jl +++ b/src/StochasticDiffEq.jl @@ -14,7 +14,7 @@ using DocStringExtensions beta2_default, beta1_default, gamma_default, qmin_default, qmax_default, qsteady_min_default, qsteady_max_default, stepsize_controller!, accept_step_controller, step_accept_controller!, - step_reject_controller!, PIController, DummyController + step_reject_controller!, PIController, DummyController, issplit using UnPack, RecursiveArrayTools, DataStructures using DiffEqNoiseProcess, Random, ArrayInterface From c2c34b44b624f6f5a9790291c5388cadd6d0578f Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 30 Jun 2024 03:28:33 +0800 Subject: [PATCH 2/4] bump Julia version --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ce50fc338..d1ff8473b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,7 +22,6 @@ jobs: - WeakConvergence1 version: - '1' - - '1.6' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 From 35fb560f7953f7d9c89a0a1b05429c056c06f0c0 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 30 Jun 2024 03:28:56 +0800 Subject: [PATCH 3/4] bump julia version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 1c1980cc9..845c7009f 100644 --- a/Project.toml +++ b/Project.toml @@ -56,7 +56,7 @@ SparseArrays = "1.6" SparseDiffTools = "2" StaticArrays = "0.11, 0.12, 1.0" UnPack = "0.1, 1.0" -julia = "1.6" +julia = "1.10" [extras] DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def" From 43f1ef9fe4a92ba56af713768763530208da0542 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 30 Jun 2024 05:43:46 +0800 Subject: [PATCH 4/4] fix utility tests --- test/utility_tests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utility_tests.jl b/test/utility_tests.jl index 2311ff57b..f52561df4 100644 --- a/test/utility_tests.jl +++ b/test/utility_tests.jl @@ -60,7 +60,7 @@ using StochasticDiffEq.SciMLOperators: MatrixOperator println(Alg) Random.seed!(0); sol1 = solve(prob1, Alg(theta=1); adaptive=false, dt=0.01) Random.seed!(0); sol2 = solve(prob2, Alg(theta=1); adaptive=false, dt=0.01) - @test sol1(1.0) ≈ sol2(1.0) rtol=1e-4 + @test sol1(1.0) ≈ sol2(1.0) rtol=1e-2 Random.seed!(0); sol1_ip = solve(prob1_ip, Alg(theta=1); adaptive=false, dt=0.01) Random.seed!(0); sol2_ip = solve(prob2_ip, Alg(theta=1); adaptive=false, dt=0.01) @test sol1_ip(1.0) ≈ sol2_ip(1.0) rtol=1e-4 @@ -76,7 +76,7 @@ using StochasticDiffEq.SciMLOperators: MatrixOperator println(SKenCarp) Random.seed!(0); sol1 = solve(prob1, SKenCarp(); adaptive=false, dt=0.01) Random.seed!(0); sol2 = solve(prob2, SKenCarp(); adaptive=false, dt=0.01) - @test sol1(1.0) ≈ sol2(1.0) rtol=1e-4 + @test sol1(1.0) ≈ sol2(1.0) rtol=1e-2 Random.seed!(0); sol1_ip = solve(prob1_ip, SKenCarp(); adaptive=false, dt=0.01) Random.seed!(0); sol2_ip = solve(prob2_ip, SKenCarp(); adaptive=false, dt=0.01) @test sol1_ip(1.0) ≈ sol2_ip(1.0) rtol=1e-3