From 94fe366779e877e85e89ba5b536099658847fbcd Mon Sep 17 00:00:00 2001 From: lucasart Date: Tue, 5 Aug 2014 11:39:50 +0800 Subject: [PATCH 1/1] 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. --- src/benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2