Skip to content

Commit d2562cd

Browse files
gcpvondele
authored andcommitted
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 #3113 No functional change.
1 parent fc27d15 commit d2562cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/benchmark.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,7 @@ vector<string> setup_bench(const Position& current, istream& is) {
164164
++posCounter;
165165
}
166166

167+
list.emplace_back("setoption name Use NNUE value true");
168+
167169
return list;
168170
}

0 commit comments

Comments
 (0)