Less NMP if the position was previously in PV.
[stockfish] / src / search.cpp
index 1490a26691f8cddd675af7b2e493f09dc6fd263d..044187e5d90106cdd452fdbfcaebeb9d0b05c15a 100644 (file)
@@ -841,7 +841,7 @@ namespace {
         && (ss-1)->statScore < 23397
         &&  eval >= beta
         &&  eval >= ss->staticEval
-        &&  ss->staticEval >= beta - 32 * depth + 292 - improving * 30
+        &&  ss->staticEval >= beta - 32 * depth - 30 * improving + 120 * ttPv + 292
         && !excludedMove
         &&  pos.non_pawn_material(us)
         && (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor))