Skip to content
Snippets Groups Projects
Unverified Commit 7102f289 authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

[Utils] error thresh should be float

parent 2e41ac8c
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ def get_finn_root():
def get_execution_error_thresh():
"Return the max error that is allowed for rounding in FINN execution."
try:
return int(os.environ["ERROR_THRESH"])
return float(os.environ["ERROR_THRESH"])
except KeyError:
return 1e-2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment