Re: SFNNv9.5.3_240420 released...
Posted: Wed Apr 24, 2024 6:38 pm
Eduard..
This line prints the value of "tmOptTime" using std::cout.
OptimalTime is just the reference to the variable and could be named anything else.
SE namespace = Stockfish::Eval;: This line creates an SE alias for the Stockfish::Eval namespace. This means that within this portion of code, SE will be used as shorthand for the Stockfish::Eval namespace.
The line is only used during debugging and you can delete it and recompile
Regards
M.Z
Code: Select all
std::cout << "OptimalTime " << SE::tmOptTime << sync_endl;
OptimalTime is just the reference to the variable and could be named anything else.
SE namespace = Stockfish::Eval;: This line creates an SE alias for the Stockfish::Eval namespace. This means that within this portion of code, SE will be used as shorthand for the Stockfish::Eval namespace.
The line is only used during debugging and you can delete it and recompile
Regards
M.Z
Eduard Nemeth wrote: Wed Apr 24, 2024 4:53 pm Does anyone know Joachim26's email? I can not find them.
https://github.com/Joachim26/StockfishNPS/releases
On lichess under BotLi I get an error message with the engine. Something is wrong in the UCI protocol.
Error message ... "OptimalTime". This does not exist in the UCI protocol.
I found this line in search.cpp:
//SFnps Begin
namespace SE = Stockfish::Eval;
int mediumNetTH = int(options["Mediumnet Threshold"]);
SE::tmOptTime = main_manager()->tm.optimum();
SE::mediumNetOn = (SE::tmOptTime < mediumNetTH);
std::cout << "OptimalTime " << SE::tmOptTime << sync_endl;
Maybe the line needs to read "OptimumTime" and not "OptimalTime"?