From: lucasart Date: Tue, 5 Aug 2014 03:39:50 +0000 (+0800) Subject: Default Hash defined in a single place X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=94fe366779e877e85e89ba5b536099658847fbcd;ds=sidebyside Default Hash defined in a single place Instead of defining it both in ucioption.cpp and benchmark.cpp. Obviously changing the default Hash will change the bench as a result. No functional change. --- diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 76a85a8c..7fc199f9 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -82,7 +82,7 @@ void benchmark(const Position& current, istream& is) { vector fens; // Assign default values to missing arguments - string ttSize = (is >> token) ? token : "32"; + string ttSize = (is >> token) ? token : Options["Hash"]; string threads = (is >> token) ? token : "1"; string limit = (is >> token) ? token : "13"; string fenFile = (is >> token) ? token : "default";