Skip to content

Commit 32c661f

Browse files
Merge pull request #144 from SciML/ChrisRackauckas-patch-4
Fix depwarns
2 parents d01dd9b + 04df2f2 commit 32c661f

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RecipesBase = "1"
3636
RecursiveArrayTools = "2, 3"
3737
RootedTrees = "2"
3838
SDEProblemLibrary = "0.1"
39-
SciMLBase = "2"
39+
SciMLBase = "2.52.2"
4040
Statistics = "1"
4141
StochasticDelayDiffEq = "1"
4242
StochasticDiffEq = "6"

src/DiffEqDevTools.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module DiffEqDevTools
22

33
using DiffEqBase, RecipesBase, RecursiveArrayTools, DiffEqNoiseProcess, StructArrays
4+
using NLsolve, LinearAlgebra, RootedTrees
45

56
using LinearAlgebra, Distributed
67

src/benchmark.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ function WorkPrecision(prob, alg, abstols, reltols, dts = nothing;
284284
end
285285
else
286286
# Unsuccessful retcode, give NaN time
287-
errors[i] = Dict(:l∞ => NaN, :L2 => NaN, :final => NaN, :l2 => NaN, :L∞ => NaN)
287+
errors[i] = Dict(
288+
:l∞ => NaN, :L2 => NaN, :final => NaN, :l2 => NaN, :L∞ => NaN)
288289
times[i] = NaN
289290
end
290291
end

src/tableau_info.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using NLsolve, LinearAlgebra, RootedTrees
21
"""
32
`Base.length(tab::ODERKTableau)`
43
@@ -48,7 +47,7 @@ function RootedTrees.residual_order_condition(tab::ODERKTableau, order::Int,
4847
end
4948
else
5049
resid = mapreduce(reducer, RootedTreeIterator(order)) do t
51-
mapper(residual_order_condition(t, A, b, c))
50+
mapper(residual_order_condition(t, RungeKuttaMethod(A, b, c)))
5251
end
5352
end
5453
return resid

test/analyticless_convergence_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ seed = 100
7474
Random.seed!(seed)
7575
seeds = rand(UInt, numtraj)
7676
ensemble_prob = EnsembleProblem(prob;
77-
output_func = (sol, i) -> (h2(sol[end][1]), false),
77+
output_func = (sol, i) -> (h2(sol[1, end]), false),
7878
prob_func = prob_func)
7979
sim = test_convergence(dts, ensemble_prob, DRI1(), save_everystep = false,
8080
trajectories = numtraj, save_start = false, adaptive = false,

test/analyticless_stochastic_wp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ seed = 100
7474
Random.seed!(seed)
7575
seeds = rand(UInt, numtraj)
7676
ensemble_prob = EnsembleProblem(prob;
77-
output_func = (sol, i) -> (h2(sol[end][1]), false),
77+
output_func = (sol, i) -> (h2(sol[1, end]), false),
7878
prob_func = prob_func)
7979

8080
reltols = 1.0 ./ 4.0 .^ (1:4)

0 commit comments

Comments
 (0)