From: Marco Costalba Date: Thu, 24 Jun 2010 17:00:03 +0000 (+0100) Subject: Revert "Do IID also when we already have a ttMove" X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d9a8dd0f7a498ec1cc191a78e7a6d44628a17133 Revert "Do IID also when we already have a ttMove" Joona's testing reports very bad results at 5s, 30s and even 1 minute TC, so revert. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 693bea94..a97d3e02 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1237,7 +1237,7 @@ namespace { // Step 9. Internal iterative deepening if ( depth >= IIDDepth[PvNode] - && (ttMove == MOVE_NONE || (PvNode && tte->depth() <= depth - 4 * OnePly)) + && ttMove == MOVE_NONE && (PvNode || (!isCheck && ss->eval >= beta - IIDMargin))) { Depth d = (PvNode ? depth - 2 * OnePly : depth / 2);