Skip to content

Commit 9397ae9

Browse files
oscardssmithChrisRackauckas
authored andcommitted
fix tests and format
1 parent 041c442 commit 9397ae9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/common_interface/ida.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ isapprox(only(sol.u[begin]), 1, rtol = 1e-3)
113113
# test that solve produced the right answer.
114114
isapprox(only(sol.u[end]), exp(1), rtol = 1e-3)
115115

116-
f_noconverge(out, du, u, p, t) = out .= [du[1]+u[1]/(t-1)]
117-
prob= DAEProblem(f, [1.], [1.], (0,2); differential_vars=[true])
116+
f_noconverge(out, du, u, p, t) = out .= [du[1] + u[1] / (t - 1)]
117+
prob = DAEProblem(f_noconverge, [1.0], [1.0], (0, 2); differential_vars = [true])
118118
sol = solve(prob, IDA())
119-
@test !(sol.retcode in (ReturnCode.Success, ReturnCode.MaxIters)
119+
@test !(sol.retcode in (ReturnCode.Success, ReturnCode.MaxIters))

0 commit comments

Comments
 (0)