feat(sim): increase default tolerance for end time in simulate

This commit is contained in:
Anthony Berg 2025-09-03 18:06:43 +02:00
parent 97c2fd47e3
commit cd89a343bf

View File

@ -104,7 +104,7 @@ class BaseSimulator(object):
self.dt = dt
if tolerance is None:
tolerance = 0.000000001
tolerance = 0.00001
while self.sim_time() < t_end:
# Prevent an infinite loop from occurring from tiny numbers