Skip to content

Commit 09457d8

Browse files
test: add guess for test
1 parent 420f8e9 commit 09457d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/multi_domain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ end
196196

197197
@mtkbuild sys = ElHeatingCircuit()
198198

199-
prob = ODEProblem(sys, unknowns(sys) .=> 0.0, (0, 6.0))
199+
prob = ODEProblem(sys, [], (0, 6.0); guesses = [sys.heating_resistor.i => 0.0])
200200
sol = solve(prob, Rodas4())
201201
@test sol.retcode == Success
202202
@test sol[sys.source.v * sys.source.i] == -sol[sys.env.port.Q_flow]

0 commit comments

Comments
 (0)