else
{
if ( newDepth >= 3*OnePly
- && i >= MultiPV + LMRPVMoves - 2 // Remove -2 and decrease LMRPVMoves instead ?
+ && i >= MultiPV + LMRPVMoves
&& !dangerous
&& !moveIsCapture
&& !move_is_promotion(move)
// Use the cached evaluation score if possible
assert(ei.futilityMargin == Value(0));
- staticValue = tte->value();
+ staticValue = tte->value() + ply;
}
else
- staticValue = evaluate(pos, ei, threadID);
+ staticValue = evaluate(pos, ei, threadID) + ply;
if (ply == PLY_MAX - 1)
return evaluate(pos, ei, threadID);