Skip to content

Commit

Permalink
bench: 1205022
Browse files Browse the repository at this point in the history
bench: 1205022
  • Loading branch information
FauziAkram authored Oct 16, 2024
1 parent 9766db8 commit f5db582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ Value Search::Worker::search(
value = -search<NonPV>(pos, ss + 1, -(alpha + 1), -alpha, newDepth, !cutNode);

// Post LMR continuation history updates (~1 Elo)
int bonus = value >= beta ? 3 * stat_bonus(newDepth) : -stat_malus(newDepth);
int bonus = 2 * (value >= beta) * stat_bonus(newDepth);
update_continuation_histories(ss, movedPiece, move.to_sq(), bonus);
}
}
Expand Down

0 comments on commit f5db582

Please sign in to comment.