Skip to content

Commit

Permalink
Fix issue in generate_figs
Browse files Browse the repository at this point in the history
  • Loading branch information
verifit committed Oct 26, 2023
1 parent c354d32 commit 90620bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_figs.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ def stats(series, with_to):
times_with_timeout = [t if (isinstance(t, float) or isinstance(t, int)) and t >= 0 else TIMEOUT for t in series]

mean = int(round(1000 * numpy.mean(times or [60]), 6))
first = int(round(1000 * numpy.quantile(times_with_timeout, 0.5), 6))
third = int(round(1000 * numpy.std(times), 6))
first = int(round(1000 * numpy.quantile(times_with_timeout or [60], 0.5), 6))
third = int(round(1000 * numpy.std(times or [60]), 6))

if with_to:
return (
Expand Down

0 comments on commit 90620bb

Please sign in to comment.