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 86b4a3c commit 10764baCopy full SHA for 10764ba
src_files/board.cpp
@@ -866,7 +866,7 @@ Score Board::staticExchangeEvaluation(Move m) const {
866
867
// adjusting gain
868
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
+ if (std::max(-gain[d-1], gain[d]) < 0) break; // pruning does not influence the result
870
capturingPiece = pt;
871
872
// remove attacker from both bitboard
0 commit comments