fix(simulation): Error with yield caused to wait for too shortly if floats have too many decimal points. Rounding up on smallest decimal point now

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-14 16:39:53 +01:00
parent d3650acfe3
commit 8cdfbd727e
3 changed files with 183 additions and 582 deletions

View File

@@ -3,7 +3,6 @@ import sys
import pathlib
# 1/u_opt_2
def main():
input_file = sys.argv[1]
assert pathlib.Path(input_file).suffix == ".csv", "Input needs to be a .csv file"