summaryrefslogtreecommitdiff
path: root/bench1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench1.cpp')
-rw-r--r--bench1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench1.cpp b/bench1.cpp
index 4fb12d2c..ce0024a6 100644
--- a/bench1.cpp
+++ b/bench1.cpp
@@ -375,7 +375,7 @@ void Benchmark(Test::TestClass suites, double t, double hertz)
g_testBegin = std::time(NULLPTR);
- if (static_cast<int>(suites) > 256 || static_cast<int>(suites) == 0)
+ if (static_cast<int>(suites) == 0 || static_cast<int>(suites) > TestLast)
suites = Test::All;
// Unkeyed algorithms