aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-02 13:24:30 +0200
committerMattias Andrée <maandree@kth.se>2016-05-02 13:24:30 +0200
commitc05074a0e65fd226a27b95aff32a3f6b1d1b8da9 (patch)
tree3f261ee58fc2c78b2ff085aa731c2f9090e5a455
parentbenchmarking: add ability to choose cpu, and add 1D functions to benchmark-func (diff)
downloadlibzahl-c05074a0e65fd226a27b95aff32a3f6b1d1b8da9.tar.gz
libzahl-c05074a0e65fd226a27b95aff32a3f6b1d1b8da9.tar.bz2
libzahl-c05074a0e65fd226a27b95aff32a3f6b1d1b8da9.tar.xz
Fix typo in merge-benchmark-func
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xbench/merge-benchmark-func.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/merge-benchmark-func.py b/bench/merge-benchmark-func.py
index c1b66eb..ac5b68d 100755
--- a/bench/merge-benchmark-func.py
+++ b/bench/merge-benchmark-func.py
@@ -40,7 +40,7 @@ if dim > 1:
if best_nsec is None or nsec < best_nsec:
best_nsec, best_line = nsec, line
print(best_line)
-else 'SELECT_MIN' not in os.environ:
+elif 'SELECT_MIN' not in os.environ:
for lines in files:
for i in range(skip, line_count):
print(lines[i])