aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index b440011..007dbe9 100755
--- a/bench.py
+++ b/bench.py
@@ -178,7 +178,7 @@ def main():
# find Benchmark class
for member in bench_module.__dict__.values():
- if (isinstance(member, type)
+ if (not isinstance(member, type)
or member is allocbench.benchmark.Benchmark
or not issubclass(member, allocbench.benchmark.Benchmark)):
continue