Depth dependant aspiration window delta
[stockfish] / src / search.cpp
index d7a8379a14e9507d28950ab7b071e456f2f58a46..421d95fe6d7a70786d7c4d31c064a76b9b850521 100644 (file)
@@ -327,7 +327,7 @@ namespace {
             // Reset aspiration window starting size
             if (depth >= 5)
             {
-                delta = Value(16);
+                delta = Value(depth > 23 ? 16 : 12);
                 alpha = std::max(RootMoves[PVIdx].prevScore - delta,-VALUE_INFINITE);
                 beta  = std::min(RootMoves[PVIdx].prevScore + delta, VALUE_INFINITE);
             }