Skip to content

Commit 36c82b7

Browse files
zamarmcostalba
authored andcommitted
Double Impact of Gain tables
Very unorthodox idea. After 16000 games at 60"+0.05 ELO: 3.14 +-3.4 (95%) LOS: 96.6% Total: 13407 W: 2278 L: 2157 D: 8972 bench: 4705335
1 parent 7d42d02 commit 36c82b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ namespace {
875875
// but fixing this made program slightly weaker.
876876
Depth predictedDepth = newDepth - reduction<PvNode>(depth, moveCount);
877877
futilityValue = ss->staticEval + ss->evalMargin + futility_margin(predictedDepth, moveCount)
878-
+ Gain[pos.piece_moved(move)][to_sq(move)];
878+
+ 2 * Gain[pos.piece_moved(move)][to_sq(move)];
879879

880880
if (futilityValue < beta)
881881
{

0 commit comments

Comments
 (0)