X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=e3cc1880ce55cd5902b5c86e9f38ad8f3fc77ab0;hp=5163e87ca67710ed14f92224075e215ae2c6d85e;hb=4aeffc8c9a7ba870702974f62d1d3553ed227c00;hpb=cfb52fcd5d307fc0daf6045fc7e299b61fed1017 diff --git a/src/movepick.cpp b/src/movepick.cpp index 5163e87c..e3cc1880 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -94,7 +94,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const History& h, { // Consider sligtly negative captures as good if at low // depth and far from beta. - if (ss && ss->eval < beta - PawnValueMidgame && d < 3 * OnePly) + if (ss && ss->eval < beta - PawnValueMidgame && d < 3 * ONE_PLY) badCaptureThreshold = -PawnValueMidgame; phasePtr = MainSearchPhaseTable;