continue;
// Prune moves with negative SEE (~10 Elo)
- if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth)))
+ if (!pos.see_ge(move, Value(-(31 - std::min(lmrDepth, 18)) * lmrDepth * lmrDepth)))
continue;
}
else if ( (!givesCheck || !extension)
: -stat_bonus(newDepth);
if (move == ss->killers[0])
- bonus += bonus / 4;
+ bonus += bonus / 4;
update_continuation_histories(ss, movedPiece, to_sq(move), bonus);
}