mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-24 05:37:13 +00:00
Fix a crash on Use NNUE default true
This was because the UCI::use_nnue variable was never updated to true. closes https://github.com/official-stockfish/Stockfish/pull/2843 bench: 4578298 NNUE: 3377227
This commit is contained in:
committed by
Joost VandeVondele
parent
a8bdf69c71
commit
60497a85d6
+1
-1
@@ -215,7 +215,7 @@ namespace {
|
||||
|
||||
void UCI::init_nnue(const std::string& evalFile)
|
||||
{
|
||||
if (UCI::use_nnue && !UCI::load_eval_finished)
|
||||
if (Options["Use NNUE"] && !UCI::load_eval_finished)
|
||||
{
|
||||
// Load evaluation function from a file
|
||||
Eval::NNUE::load_eval(evalFile);
|
||||
|
||||
Reference in New Issue
Block a user