Revert "Increase earlier aspiration window size"
authorMarco Costalba <mcostalba@gmail.com>
Tue, 2 Jul 2013 05:25:39 +0000 (07:25 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 2 Jul 2013 05:25:39 +0000 (07:25 +0200)
This reverts commit b88bc7b7667fc6ddbfc7412fb2c0bfc13e3bf11c.

src/search.cpp

index fc94f4f79347dfc14dc6fe5e186c90ca3a1d0fac..8f46d82a5ed856abb0d68a847e7f2e97afa92e49 100644 (file)
@@ -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