- Notifications
You must be signed in to change notification settings - Fork441
Closed
Description
Got this error when using timeresp.py. Checked the source code, I think the problem is at line 337-338:
if dt < sys.dt:
raise ValueError("Time stepsT
must match sampling time")
It will be better to use the following, since float rounding error can be smaller or larger:
if abs(dt-sys.dt) > 1e-5: