Skip to content

Commit 28e9e5f

Browse files
committed
Format
1 parent 4d1019b commit 28e9e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/initializationsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,6 @@ sol = solve(oprob_2nd_order_2, Rosenbrock23()) # retcode: Success
573573
@named sys = ODESystem([D(x) ~ x, D(y) ~ y], t; initialization_eqs = [y ~ -x])
574574
sys = structural_simplify(sys)
575575
prob = ODEProblem(sys, [sys.x => ones(5)], (0.0, 1.0), [])
576-
sol = solve(prob, Tsit5(), reltol=1e-4)
577-
@test all(sol(1.0, idxs=sys.x) .≈ +exp(1)) && all(sol(1.0, idxs=sys.y) .≈ -exp(1))
576+
sol = solve(prob, Tsit5(), reltol = 1e-4)
577+
@test all(sol(1.0, idxs = sys.x) .≈ +exp(1)) && all(sol(1.0, idxs = sys.y) .≈ -exp(1))
578578
end

0 commit comments

Comments
 (0)