Skip to content

Commit dff4f65

Browse files
committed
Test done with latest MTK version
1 parent 4c62fc1 commit dff4f65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/Electrical/analog.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,11 @@ end
738738
end
739739

740740
@mtkbuild sys = SwitchTest()
741-
prob = ODEProblem(sys, [sys.capacitor.v => 0.0], (0.0, 25.0))
741+
u0 = [
742+
sys.capacitor.v => 0.0,
743+
sys.capacitor.i => 0.0
744+
]
745+
prob = ODEProblem(sys, u0, (0.0, 25.0))
742746
sol = solve(prob, Rodas4())
743747

744748
@test SciMLBase.successful_retcode(sol)

0 commit comments

Comments
 (0)