mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2025-09-14 19:22:17 +02:00
feat(sim): increase default tolerance for end time in simulate
This commit is contained in:
parent
97c2fd47e3
commit
cd89a343bf
@ -104,7 +104,7 @@ class BaseSimulator(object):
|
|||||||
self.dt = dt
|
self.dt = dt
|
||||||
|
|
||||||
if tolerance is None:
|
if tolerance is None:
|
||||||
tolerance = 0.000000001
|
tolerance = 0.00001
|
||||||
|
|
||||||
while self.sim_time() < t_end:
|
while self.sim_time() < t_end:
|
||||||
# Prevent an infinite loop from occurring from tiny numbers
|
# Prevent an infinite loop from occurring from tiny numbers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user