mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Fix valgrind issue
No functional change.
This commit is contained in:
committed by
Joost VandeVondele
parent
cae61bbb65
commit
a285850bf6
@@ -236,7 +236,7 @@ void UCI::loop(int argc, char* argv[]) {
|
||||
string token, cmd;
|
||||
StateListPtr states(new std::deque<StateInfo>(1));
|
||||
|
||||
pos.set(StartFEN, false, pos.use_nnue(), &states->back(), Threads.main());
|
||||
pos.set(StartFEN, false, Options["Use NNUE"], &states->back(), Threads.main());
|
||||
|
||||
for (int i = 1; i < argc; ++i)
|
||||
cmd += std::string(argv[i]) + " ";
|
||||
|
||||
Reference in New Issue
Block a user