Skip to content

Commit 7e3638d

Browse files
committed
Take 1: maybe after PR official-stockfish#2511 such a thing might work now
bench: 4741973
1 parent 0ab2109 commit 7e3638d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/search.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,9 @@ namespace {
925925

926926
if (value >= raisedBeta)
927927
{
928-
if (depth < 7 &&
929-
thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] < 0)
930-
thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] << stat_bonus(depth - 4);
928+
if (depth < 7
929+
&& thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] < 0)
930+
thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] << stat_bonus(depth - 4);
931931
return value;
932932
}
933933
}

0 commit comments

Comments
 (0)