projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fc27d15
)
Always re-enable NNUE after "bench".
author
Gian-Carlo Pascutto
<gcp@sjeng.org>
Tue, 8 Sep 2020 13:37:53 +0000 (15:37 +0200)
committer
Joost VandeVondele
<Joost.VandeVondele@gmail.com>
Tue, 8 Sep 2020 20:53:50 +0000 (22:53 +0200)
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.
src/benchmark.cpp
patch
|
blob
|
history
diff --git
a/src/benchmark.cpp
b/src/benchmark.cpp
index
806e984
..
ffb631a
100644
(file)
--- a/
src/benchmark.cpp
+++ b/
src/benchmark.cpp
@@
-164,5
+164,7
@@
vector<string> setup_bench(const Position& current, istream& is) {
++posCounter;
}
+ list.emplace_back("setoption name Use NNUE value true");
+
return list;
}