X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=ad5a8cc8c2e80637c3aed47020760a5b9db59e38;hp=e3cc1880ce55cd5902b5c86e9f38ad8f3fc77ab0;hb=4f28e19fc0a55c09624d106d9ce6075b29956c49;hpb=ea2b8a93eb3cf2765e51d33ecf37c3994eacb84d 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 {