We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5a4a4 commit 38b3052Copy full SHA for 38b3052
test/Mechanical/translational_modelica.jl
@@ -105,5 +105,5 @@ end
105
prob = ODEProblem(sys, [], (0, 2pi))
106
sol = solve(prob, Rodas4())
107
tv = 0:0.1:(2pi)
108
- @test sol(tv, idxs = sys.mass.s)≈@.(2sin(2pi * tv * 3)) atol=1e-2
+ @test sol(tv, idxs = sys.mass.s).u ≈ @.(2sin(2pi * tv * 3)) atol=1e-2
109
end
0 commit comments