Skip to content

Commit 0a7e780

Browse files
committed
changed tolerances
1 parent e7300a4 commit 0a7e780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Collision/TwoCollidingBalls.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if Sys.iswindows()
5656
else
5757
requiredFinalStates = missing
5858
end
59-
simulate!(twoCollidingBalls, stopTime=stopTime, tolerance=tolerance, dtmax=dtmax, log=true, logStates=true, logEvents=true, requiredFinalStates=requiredFinalStates)
59+
simulate!(twoCollidingBalls, stopTime=stopTime, tolerance=tolerance, dtmax=dtmax, log=true, logStates=true, logEvents=true, requiredFinalStates=requiredFinalStates, requiredFinalStates_rtol=1.1, requiredFinalStates_atol=0.1)
6060

6161
@usingModiaPlot
6262
plot(twoCollidingBalls, ["ball1.translation" "ball1.rotation"; "ball1.velocity" "ball1.angularVelocity"], figure=1)

0 commit comments

Comments
 (0)