Skip to content

Commit fa43296

Browse files
authored
Merge pull request #1249 from AayushSabharwal/as/test-robust
test: make test robust to ordering of unknowns
2 parents 49e7bbd + a3bc7a0 commit fa43296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/reactionsystem_core/coupled_equation_crn_systems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ let
214214
osol = solve(oprob, Rosenbrock23(); abstol = 1e-8, reltol = 1e-8)
215215
sssol = solve(ssprob, DynamicSS(Rosenbrock23()); abstol = 1e-8, reltol = 1e-8)
216216
nlsol = solve(nlprob; abstol = 1e-8, reltol = 1e-8)
217-
@test osol.u[end] sssol nlsol
217+
@test osol[[A, B, C, X], end] sssol[[A, B, C, X]] nlsol[[A, B, C, X]]
218218
end
219219

220220

0 commit comments

Comments
 (0)