From 13ffb08136947bc65f79a29d4cf92740324a7136 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 2 Jul 2013 07:25:39 +0200 Subject: [PATCH] Revert "Increase earlier aspiration window size" This reverts commit b88bc7b7667fc6ddbfc7412fb2c0bfc13e3bf11c. --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index fc94f4f7..8f46d82a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -364,8 +364,6 @@ namespace { if (Signals.stop) return; - delta += delta / 2; - // In case of failing low/high increase aspiration window and // research, otherwise exit the loop. if (bestValue <= alpha) @@ -381,6 +379,8 @@ namespace { else break; + delta += delta / 2; + assert(alpha >= -VALUE_INFINITE && beta <= VALUE_INFINITE); // Give some update (without cluttering the UI) before to research -- 2.39.2