X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=ad5a8cc8c2e80637c3aed47020760a5b9db59e38;hp=e3cc1880ce55cd5902b5c86e9f38ad8f3fc77ab0;hb=4f96f420a33422d3ab09b7a1b9fada9af3d021d7;hpb=4aeffc8c9a7ba870702974f62d1d3553ed227c00 diff --git a/src/movepick.cpp b/src/movepick.cpp index e3cc1880..ad5a8cc8 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -90,7 +90,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const History& h, if (p.is_check()) phasePtr = EvasionsPhaseTable; - else if (d > Depth(0)) + else if (d > DEPTH_ZERO) { // Consider sligtly negative captures as good if at low // depth and far from beta. @@ -99,7 +99,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const History& h, phasePtr = MainSearchPhaseTable; } - else if (d == Depth(0)) + else if (d == DEPTH_ZERO) phasePtr = QsearchWithChecksPhaseTable; else {