We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab2109 commit 7e3638dCopy full SHA for 7e3638d
src/search.cpp
@@ -925,9 +925,9 @@ namespace {
925
926
if (value >= raisedBeta)
927
{
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);
+ if (depth < 7
+ && thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] < 0)
+ thisThread->captureHistory[pos.moved_piece(move)][to_sq(move)][ type_of(pos.piece_on(to_sq(move)))] << stat_bonus(depth - 4);
931
return value;
932
}
933
0 commit comments