Skip to content

Commit 3cc7857

Browse files
test: attempt to make SDE test more reproducible
1 parent 7dc7ab4 commit 3cc7857

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ModelingToolkitBase/test/sdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ end
825825
ρ => 2.33,
826826
]
827827

828-
prob = SDEProblem(de, [u0map; parammap], (0.0, 100.0))
828+
prob = SDEProblem(de, [u0map; parammap], (0.0, 100.0); seed = 42)
829829
# SOSRI only works for diagonal and scalar noise
830830
@test_throws ErrorException solve(prob, SOSRI()).retcode == ReturnCode.Success
831831
# ImplicitEM does work for non-diagonal noise

0 commit comments

Comments
 (0)