Skip to content

Commit

Permalink
Bench: 2948476
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Feb 15, 2024
1 parent 1628fe4 commit 51b0889
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,10 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*

// no score failed above sBeta, so this is singular
if (score < sBeta) {
if (!isPV && score < sBeta - 50 && ss->de <= 6 && !IsCap(move)) {
if (!isPV && score < sBeta - 100 && ss->de <= 6 && !IsCap(move)) {
extension = 4;
ss->de = (ss - 1)->de + 1;
} else if (!isPV && score < sBeta - 50 && ss->de <= 6 && !IsCap(move)) {
extension = 3;
ss->de = (ss - 1)->de + 1;
} else if (!isPV && score < sBeta - 17 && ss->de <= 6) {
Expand Down

0 comments on commit 51b0889

Please sign in to comment.