Skip to content
Snippets Groups Projects

Fix NaN ratios in MooreOnline throughput tests

Closed Arthur Marius Hennequin requested to merge ahennequ_fixNaN into master
1 unresolved thread
1 file
+ 0
3
Compare changes
  • Side-by-side
  • Inline
@@ -74,9 +74,6 @@ def get_throughput(file, pattern=r"Evts\/s = ([\d.]+)"):
if not values:
log.error(f"No throughput match for {pattern} in {file}.")
return NAN
if len(values) > 1:
log.error(f"More than one throughput match for {pattern} in {file}.")
return NAN
return values[0]
Loading