While the smallNet bool is no longer used as of now,
setting it to false upon re-evaluation represents the
correct eval state.
closes https://github.com/official-stockfish/Stockfish/pull/5279
No functional change
Value nnue = smallNet ? networks.small.evaluate(pos, &caches.small, true, &nnueComplexity)
: networks.big.evaluate(pos, &caches.big, true, &nnueComplexity);
+ // Re-evaluate the position when higher eval accuracy is worth the time spent
if (smallNet && nnue * simpleEval < 0)
{
nnue = networks.big.evaluate(pos, &caches.big, true, &nnueComplexity);