diff options
Diffstat (limited to 'utils/release/findRegressions.py')
-rwxr-xr-x | utils/release/findRegressions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/release/findRegressions.py b/utils/release/findRegressions.py index 7629c8b4fb..d3811a53b7 100755 --- a/utils/release/findRegressions.py +++ b/utils/release/findRegressions.py @@ -105,8 +105,8 @@ def diffResults(d_old, d_new): elif not math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]): print t + " *** REGRESSION (" + x + ")" - if d_new[t][x] > d_old[t][x] and \ - (d_new[t][x] - d_old[t][x]) / d_new[t][x] > .05: + if d_new[t][x] > d_old[t][x] and d_old[t][x] > 0.0 and \ + (d_new[t][x] - d_old[t][x]) / d_old[t][x] > .05: print t + " *** REGRESSION (" + x + ")" else : |