mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
Use a global instead of a variable in pos
This commit is contained in:
+2
-1
@@ -48,8 +48,9 @@ void on_use_nnue(const Option& o) {
|
||||
if (o)
|
||||
std::cout << "info string NNUE eval used" << std::endl;
|
||||
else
|
||||
std::cout << "info string Standard eval used" << std::endl;
|
||||
std::cout << "info string classic eval used" << std::endl;
|
||||
|
||||
Eval::useNNUE = o;
|
||||
init_nnue(Options["EvalFile"]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user