Skip to content

Commit d005ab2

Browse files
style: apply Runic to the array-equation DAE tests
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent ca3c4c3 commit d005ab2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/ModelingToolkitBase/test/array_equation_dae.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ end
141141
prob.f(out, du, prob.u0, prob.p, 0.0)
142142
@test maximum(abs, out) < 1.0e-1
143143

144-
sol = solve(prob, DFBDF(); initializealg = BrownFullBasicInit(), reltol = 1.0e-8,
145-
abstol = 1.0e-8, saveat = [0.1])
144+
sol = solve(
145+
prob, DFBDF(); initializealg = BrownFullBasicInit(), reltol = 1.0e-8,
146+
abstol = 1.0e-8, saveat = [0.1]
147+
)
146148
@test SciMLBase.successful_retcode(sol)
147149
@test maximum(abs, sol.u[end] .- [exp(-pi^2 * 0.1) * sinpi(x) for x in xs]) < 1.0e-2
148150
end

0 commit comments

Comments
 (0)