Skip to content

Commit 10764ba

Browse files
committed
Auto generated
bench:4271540
1 parent 86b4a3c commit 10764ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_files/board.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ Score Board::staticExchangeEvaluation(Move m) const {
866866

867867
// adjusting gain
868868
gain[d] = see_piece_vals[getPieceType(capturingPiece)] - gain[d - 1];
869-
// if (std::max(-gain[d-1], gain[d]) < 0) break; // pruning does not influence the result
869+
if (std::max(-gain[d-1], gain[d]) < 0) break; // pruning does not influence the result
870870
capturingPiece = pt;
871871

872872
// remove attacker from both bitboard

0 commit comments

Comments
 (0)