From: Gian-Carlo Pascutto Date: Tue, 8 Sep 2020 13:37:53 +0000 (+0200) Subject: Always re-enable NNUE after "bench". X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d2562cde12cdcc3df654279d6d632ae74c5f71af;p=fairystockfish.git Always re-enable NNUE after "bench". Restore the default NNUE setting (enabled) after a bench command. This also makes the resulting program settings independent of the number of FENs that are being benched. Fixes issue #3112. closes https://github.com/official-stockfish/Stockfish/pull/3113 No functional change. --- diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 806e984..ffb631a 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -164,5 +164,7 @@ vector setup_bench(const Position& current, istream& is) { ++posCounter; } + list.emplace_back("setoption name Use NNUE value true"); + return list; }