]> git.sesse.net Git - stockfish/commitdiff
Cleanup code after removal of classical evaluation
authorSebastian Buchwald <UniQP@web.de>
Wed, 12 Jul 2023 17:46:33 +0000 (19:46 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 13 Jul 2023 06:19:37 +0000 (08:19 +0200)
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

src/evaluate.cpp
src/evaluate.h

index 2ab4fa404e094c535166484677da6c5066d13a51..a1bcdd20420b145bbc1f8d2bbec30af449d78d6b 100644 (file)
@@ -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.";
index abdbef9010d9db299c91c9bfdd56271227844d9e..586e3b81f04fe239c58d1c12b384c3610e1a2bdf 100644 (file)
@@ -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