From: Gian-Carlo Pascutto Date: Tue, 8 Sep 2020 13:37:53 +0000 (+0200) Subject: Always re-enable NNUE after "bench". X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d2562cde12cdcc3df654279d6d632ae74c5f71af;hp=fc27d158c012341593518a05abf51903ecbcb495 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 806e9840..ffb631a2 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; }