From: Sebastian Buchwald Date: Wed, 12 Jul 2023 17:46:33 +0000 (+0200) Subject: Cleanup code after removal of classical evaluation X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=f972947492c513b7c0c4046058354b44a9ae9f04 Cleanup code after removal of classical evaluation This includes the following changes: - Remove declaration of removed global variable - Adapt string that mentions removed UCI option closes https://github.com/official-stockfish/Stockfish/pull/4675 No functional change --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 2ab4fa40..a1bcdd20 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -119,7 +119,7 @@ namespace Eval { { string msg1 = "Network evaluation parameters compatible with the engine must be available."; - string msg2 = "The option is set to true, but the network file " + eval_file + " was not loaded successfully."; + string msg2 = "The network file " + eval_file + " was not loaded successfully."; string msg3 = "The UCI option EvalFile might need to specify the full path, including the directory name, to the network file."; string msg4 = "The default net can be downloaded from: https://tests.stockfishchess.org/api/nn/" + std::string(EvalFileDefaultName); string msg5 = "The engine will be terminated now."; diff --git a/src/evaluate.h b/src/evaluate.h index abdbef90..586e3b81 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -33,7 +33,6 @@ namespace Eval { std::string trace(Position& pos); Value evaluate(const Position& pos); - extern bool useNNUE; extern std::string currentEvalFileName; // The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue