Skip to content

Commit

Permalink
Bench: 26606052
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 15, 2023
1 parent 95562bb commit 3bf1e9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ static int AlphaBeta(Thread *thread, Stack *ss, int alpha, int beta, Depth depth
if (lmrDepth < 3 && ss->histScore < -1024 * depth)
continue;

// Futility pruning
if (!inCheck && lmrDepth < 7 && ss->eval + 100 + 150 * depth <= alpha)
continue;

// SEE pruning
if (lmrDepth < 7 && !SEE(pos, move, quiet ? -50 * depth : -85 * depth))
continue;
Expand Down

0 comments on commit 3bf1e9d

Please sign in to comment.