]> git.sesse.net Git - stockfish/commitdiff
Simplify delta calculation in aspiration window
authorMuzhen Gaming <61100393+XInTheDark@users.noreply.github.com>
Sat, 20 May 2023 13:28:54 +0000 (21:28 +0800)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 25 May 2023 18:37:53 +0000 (20:37 +0200)
Simplification STC: https://tests.stockfishchess.org/tests/view/6468cb200db5177f2b76ecbb
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 220416 W: 58503 L: 58487 D: 103426
Ptnml(0-2): 596, 24384, 60188, 24488, 552

Simplification LTC: https://tests.stockfishchess.org/tests/view/646a15840db5177f2b770704
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 177756 W: 47882 L: 47825 D: 82049
Ptnml(0-2): 55, 17430, 53858, 17473, 62

closes https://github.com/official-stockfish/Stockfish/pull/4581

Bench: 2304063

src/search.cpp

index 130855c19c945a705a5334f0b3ba3840df1a6d0c..3632a46988419b62831981adec598210d919983b 100644 (file)
@@ -409,7 +409,7 @@ void Thread::search() {
               else
                   break;
 
-              delta += delta / 4 + 2;
+              delta += delta / 3;
 
               assert(alpha >= -VALUE_INFINITE && beta <= VALUE_INFINITE);
           }