diff options
Diffstat (limited to 'checks')
-rw-r--r-- | checks/check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index 047b8d051..d8d65b933 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -124,12 +124,12 @@ int main(int argc, char* argv[]) } if(opts.is_set("bench-algo") || opts.is_set("benchmark") || opts.is_set("bench-type")) { - double seconds = 1.5; + double seconds = 5; if(opts.is_set("seconds")) { seconds = std::atof(opts.value("seconds").c_str()); - if(seconds && (seconds < 0.1 || seconds > (5 * 60))) + if(seconds < 0.1 || seconds > (5 * 60))) { std::cout << "Invalid argument to --seconds\n"; return 2; |