Skip to content

Commit 9d26f19

Browse files
committed
use approx
1 parent 1006b19 commit 9d26f19

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/miscellaneous_tests/symbolic_stoichiometry.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,29 +225,29 @@ let
225225
# Test ODE simulations with integer coefficients.
226226
oprob_int = ODEProblem(rs_int, u0, tspan, ps_int)
227227
oprob_int_ref = ODEProblem(rs_ref_int, u0, tspan, ps_int)
228-
@test solve(oprob_int, Tsit5()) == solve(oprob_int_ref, Tsit5())
228+
@test solve(oprob_int, Tsit5()) solve(oprob_int_ref, Tsit5())
229229

230230
# Test ODE simulations with decimal coefficients.
231231
oprob_dec = ODEProblem(rs_dec, u0, tspan, ps_dec; combinatoric_ratelaws = false)
232232
oprob_dec_ref = ODEProblem(rs_ref_dec, u0, tspan, ps_dec; combinatoric_ratelaws = false)
233-
@test solve(oprob_dec, Tsit5()) == solve(oprob_dec_ref, Tsit5())
233+
@test solve(oprob_dec, Tsit5()) solve(oprob_dec_ref, Tsit5())
234234

235235
# Test SDE simulations with integer coefficients.
236236
sprob_int = SDEProblem(rs_int, u0, tspan, ps_int)
237237
sprob_int_ref = SDEProblem(rs_ref_int, u0, tspan, ps_int)
238-
@test solve(sprob_int, ImplicitEM(); seed) == solve(sprob_int_ref, ImplicitEM(); seed)
238+
@test solve(sprob_int, ImplicitEM(); seed) solve(sprob_int_ref, ImplicitEM(); seed)
239239

240240
# Test SDE simulations with decimal coefficients.
241241
sprob_dec = SDEProblem(rs_dec, u0, tspan, ps_dec; combinatoric_ratelaws = false)
242242
sprob_dec_ref = SDEProblem(rs_ref_dec, u0, tspan, ps_dec; combinatoric_ratelaws = false)
243-
@test solve(sprob_dec, ImplicitEM(); seed) == solve(sprob_dec_ref, ImplicitEM(); seed)
243+
@test solve(sprob_dec, ImplicitEM(); seed) solve(sprob_dec_ref, ImplicitEM(); seed)
244244

245245
# Tests jump simulations with integer coefficients.
246246
dprob_int = DiscreteProblem(rs_int, u0, tspan, ps_int)
247247
dprob_int_ref = DiscreteProblem(rs_ref_int, u0, tspan, ps_int)
248248
jprob_int = JumpProblem(rs_int, dprob_int, Direct(); rng)
249249
jprob_int_ref = JumpProblem(rs_ref_int, dprob_int_ref, Direct(); rng)
250-
@test solve(jprob_int, SSAStepper(); seed) == solve(jprob_int_ref, SSAStepper(); seed)
250+
@test solve(jprob_int, SSAStepper(); seed) solve(jprob_int_ref, SSAStepper(); seed)
251251
end
252252

253253
# Check that jump simulations (implemented with and without symbolic stoichiometries) yield simulations

0 commit comments

Comments
 (0)