]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Revert refinedValue in ProbCut
[stockfish] / src / movepick.cpp
index 7d759f12691058f255f84784e388a09b4fad6c09..61e5527f42c61d638132201f0b2f2efd18bc999a 100644 (file)
@@ -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 threshold)
+MovePicker::MovePicker(const Position& p, Move ttm, const History& h, int parentCapture)
                        : pos(p), H(h) {
 
   assert (!pos.in_check());
 
   // In ProbCut we consider only captures better than parent's move
-  captureThreshold = threshold;
+  captureThreshold = parentCapture;
   phasePtr = ProbCutTable;
 
   if (   ttm != MOVE_NONE