Value v;
- // Deciding between classical and NNUE eval: for high PSQ imbalance we use classical,
+ // Deciding between classical and NNUE eval (~10 Elo): for high PSQ imbalance we use classical,
// but we switch to NNUE during long shuffling or with high material on the board.
if ( !useNNUE
v = Evaluation<NO_TRACE>(pos).value(); // classical
else
{
- int scale = 1049
- + 8 * pos.count<PAWN>()
+ int scale = 1136
+ 20 * pos.non_pawn_material() / 1024;
Value nnue = NNUE::evaluate(pos, true); // NNUE