Skip to content

Commit 46f0930

Browse files
test: don't build initialization problem for inversemodel tests
1 parent 8bfb157 commit 46f0930

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/downstream/inversemodel.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ cm = complete(model)
135135
op = Dict(D(cm.inverse_tank.xT) => 1,
136136
cm.tank.xc => 0.65)
137137
tspan = (0.0, 1000.0)
138-
prob = ODEProblem(ssys, op, tspan)
138+
# https://github.com/SciML/ModelingToolkit.jl/issues/2786
139+
prob = ODEProblem(ssys, op, tspan; build_initializeprob = false)
139140
sol = solve(prob, Rodas5P())
140141

141142
@test SciMLBase.successful_retcode(sol)

0 commit comments

Comments
 (0)