Skip to content

Commit 926626c

Browse files
committed
add default
1 parent f6f19c5 commit 926626c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/extensions/lattice_simulation_plotting.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Preparations ###
22

33
# Fetch packages.
4-
using Catalyst, CairoMakie, GraphMakie, Graphs, JumpProcesses, OrdinaryDiffEq, Test
4+
using Catalyst, CairoMakie, GraphMakie, Graphs, JumpProcesses, OrdinaryDiffEqDefault, OrdinaryDiffEq, Test
55

66

77
### Checks Basic Plot Cases ###
@@ -91,7 +91,7 @@ let
9191
lattice = CartesianGrid((2,2,2))
9292
lrs = LatticeReactionSystem(rs, [diffusion_rx], lattice)
9393
oprob = ODEProblem(lrs, [:X => 1.0], 1.0, [:d => 1.0, :D => 0.2])
94-
osol = solve(oprob, Tsit5())
94+
osol = solve(oprob)
9595

9696
@test_throws ArgumentError lattice_plot(osol, :X, lrs)
9797
@test_throws ArgumentError lattice_animation(osol, :X, lrs, "animation_tmp.mp4")

test/network_analysis/conservation_laws.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Prepares Tests ###
22

33
# Fetch packages.
4-
using Catalyst, JumpProcesses, LinearAlgebra, NonlinearSolve, OrdinaryDiffEqTsit5, SteadyStateDiffEq, StochasticDiffEq, Test
4+
using Catalyst, JumpProcesses, LinearAlgebra, NonlinearSolve, OrdinaryDiffEqTsit5, OrdinaryDiffEqDefault, OrdinaryDiffEqVerner, SteadyStateDiffEq, StochasticDiffEq, Test
55

66
# Sets stable rng number.
77
using StableRNGs
@@ -192,7 +192,7 @@ let
192192
oprob1 = ODEProblem(rn, u0_1, 10.0, ps; remove_conserved = true, remove_conserved_warn)
193193
oprob2 = ODEProblem(rn, u0_2, 10.0, ps; remove_conserved = true, remove_conserved_warn)
194194
oprob3 = ODEProblem(rn, u0_3, 10.0, ps; remove_conserved = true, remove_conserved_warn)
195-
@test solve(oprob1, Tsit5())[sps] solve(oprob2, Tsit5())[sps] solve(oprob3, Tsit5())[sps]
195+
@test solve(oprob1)[sps] solve(oprob2)[sps] solve(oprob3)[sps]
196196
end
197197

198198
# Tests conservation laws in SDE simulation.
@@ -224,8 +224,8 @@ let
224224
oprob2 = ODEProblem(osys, u0, 10.0, ps_2)
225225

226226
# Checks that the solutions generates the correct conserved quantities.
227-
sol1 = solve(oprob1, Tsit5(); saveat = 1.0)
228-
sol2 = solve(oprob2, Tsit5(); saveat = 1.0)
227+
sol1 = solve(oprob1; saveat = 1.0)
228+
sol2 = solve(oprob2; saveat = 1.0)
229229
@test all(sol1[osys.X1 + osys.X2] .== 2.0)
230230
@test all(sol2[osys.X1 + osys.X2] .== 4.0)
231231
end

0 commit comments

Comments
 (0)