Skip to content

Commit 5a5075f

Browse files
fix
1 parent 832215f commit 5a5075f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Blocks/continuous.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ an integrator with a constant input is often used together with the system under
1717
sys = structural_simplify(iosys)
1818
prob = ODEProblem(sys, Pair[int.x=>1.0], (0.0, 1.0))
1919
sol = solve(prob, Rodas4())
20-
@test all(sol[int.output.u] .≈ 1)
20+
@test all(sol[c.output.u] .≈ 1)
21+
@test sol[int.output.u][end] .≈ 2 # expected solution
2122
end
2223

2324
@testset "Derivative" begin

0 commit comments

Comments
 (0)