X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmovepick.cpp;h=7d759f12691058f255f84784e388a09b4fad6c09;hb=b414fc0dfdced41aa14d4d86dd6a94ce3e2094f3;hp=61e5527f42c61d638132201f0b2f2efd18bc999a;hpb=8647fbd6ed11c60282e84e4b486a7e8258c88483;p=stockfish diff --git a/src/movepick.cpp b/src/movepick.cpp index 61e5527f..7d759f12 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -110,13 +110,13 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d, const History& h) go_next_phase(); } -MovePicker::MovePicker(const Position& p, Move ttm, const History& h, int parentCapture) +MovePicker::MovePicker(const Position& p, Move ttm, const History& h, int threshold) : pos(p), H(h) { assert (!pos.in_check()); // In ProbCut we consider only captures better than parent's move - captureThreshold = parentCapture; + captureThreshold = threshold; phasePtr = ProbCutTable; if ( ttm != MOVE_NONE