]> git.sesse.net Git - stockfish/commitdiff
Tweak the connected[] array value for pawns on rank 5
authorStéphane Nicolet <cassio@free.fr>
Wed, 2 May 2018 19:49:54 +0000 (21:49 +0200)
committerStéphane Nicolet <cassio@free.fr>
Thu, 3 May 2018 20:00:07 +0000 (22:00 +0200)
A recent tuning session by Jerry Donald Watson suggested that the
value for the pawns on the fifth rank in the connected[] array were
a little bit too high in master. We lower here this value from 75 to 65.

STC:
LLR: 2.95 (-2.94,2.94) [0.00,4.00]
Total: 27399 W: 5646 L: 5384 D: 16369
http://tests.stockfishchess.org/tests/view/5aea17c50ebc5902a1bed396

LTC:
LLR: 3.66 (-2.94,2.94) [0.00,4.00]
Total: 95590 W: 14529 L: 14062 D: 66999
http://tests.stockfishchess.org/tests/view/5aea34a40ebc5902a104ebe5

Closes https://github.com/official-stockfish/Stockfish/pull/1580

Bench: 5186783

src/pawns.cpp

index 3e926005b37d2b844f1be9677a39f4518d58a21d..6623ab71b80b9db18c59a9cbdfba11c62a3c89cd 100644 (file)
@@ -179,7 +179,7 @@ namespace Pawns {
 
 void init() {
 
-  static constexpr int Seed[RANK_NB] = { 0, 13, 24, 18, 76, 100, 175, 330 };
+  static constexpr int Seed[RANK_NB] = { 0, 13, 24, 18, 65, 100, 175, 330 };
 
   for (int opposed = 0; opposed <= 1; ++opposed)
       for (int phalanx = 0; phalanx <= 1; ++phalanx)