X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=ca40b24845b02f7ddf74dd9c3103c86b9c31c6f0;hp=3abcda62f75e2a2fe87adba4878e4f1d715870c6;hb=5bb9da92872f298e6aedb59d728a42dc5719738e;hpb=55745f410547f22b1edce873b38cc3ce5f3ace5f diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 3abcda62..ca40b248 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -84,9 +84,9 @@ void benchmark(const string& commandLine) { } csStr >> threads; csVal >> val; - if (val < 1 || val > THREAD_MAX) + if (val < 1 || val > MAX_THREADS) { - cerr << "The number of threads must be between 1 and " << THREAD_MAX << endl; + cerr << "The number of threads must be between 1 and " << MAX_THREADS << endl; Application::exit_with_failure(); } set_option_value("Hash", ttSize);