Skip to content

Commit 0915f85

Browse files
uriblassmcostalba
authored andcommitted
Union of 2 changes that failed with good score
This is a union of 2 changes: A tweak of recaptures limit from Joona Kiiski http://tests.stockfishchess.org/tests/view/52166d7c0ebc59319a242400 and a tweak of move count pruning from Leonid Pechenik http://tests.stockfishchess.org/tests/view/5217c7e60ebc59319a242456 The set passed both short TC at 30+0.05 LLR: 2.96 (-2.94,2.94) Total: 18936 W: 3723 L: 3566 D: 11647 And the usual long TC at 60+0.05 LLR: 2.95 (-2.94,2.94) Total: 48962 W: 8837 L: 8487 D: 31638 bench: 3453945
1 parent 5e8bc6a commit 0915f85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/search.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ void Search::init() {
153153
// Init futility move count array
154154
for (d = 0; d < 32; d++)
155155
{
156-
FutilityMoveCounts[0][d] = int(3.001 + 0.3 * pow(double(d ), 1.8)) * (d < 5 ? 4 : 3) / 4;
157-
FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d + 0.98), 1.8));
156+
FutilityMoveCounts[0][d] = int(3 + 0.3 * pow(double(d ), 1.8)) * 3/4 + (2 < d && d < 5);
157+
FutilityMoveCounts[1][d] = int(3 + 0.3 * pow(double(d + 0.98), 1.8));
158158
}
159159
}
160160

src/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ enum Depth {
196196
DEPTH_ZERO = 0 * ONE_PLY,
197197
DEPTH_QS_CHECKS = -1 * ONE_PLY,
198198
DEPTH_QS_NO_CHECKS = -2 * ONE_PLY,
199-
DEPTH_QS_RECAPTURES = -7 * ONE_PLY,
199+
DEPTH_QS_RECAPTURES = -5 * ONE_PLY,
200200

201201
DEPTH_NONE = -127 * ONE_PLY
202202
};

0 commit comments

Comments
 (0)