Skip to content

Commit

Permalink
fix test passing integer to differential_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored and ChrisRackauckas committed Feb 13, 2024
1 parent 4fef4af commit 79263c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common_interface/errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sol = solve(prob, CVODE_BDF(); verbose = false)
f_error2(du, u, p, t) = du .= u ./ t .- 1
u0 = [1.0];
du0 = [1.0];
prob = DAEProblem(f_error2, u0, du0, (0.0, 1.0); differential_vars = [1])
prob = DAEProblem(f_error2, u0, du0, (0.0, 1.0); differential_vars = [true])
sol = solve(prob, IDA())
sol = solve(prob, IDA(); verbose = false)

Expand Down

0 comments on commit 79263c9

Please sign in to comment.