Skip to content

Commit

Permalink
Remove nonPawns guard for forward pruning (#471)
Browse files Browse the repository at this point in the history
STC:
Elo | 3.67 +- 3.25 (95%)
SPRT | 8.0+0.08s Threads=1 Hash=16MB
LLR | 2.93 (-2.25, 2.89) [-3.00, 1.00]
Games | N: 10310 W: 2481 L: 2372 D: 5457
Penta | [20, 1068, 2879, 1159, 29]
LTC:
Elo | 0.68 +- 1.69 (95%)
SPRT | 40.0+0.40s Threads=1 Hash=64MB
LLR | 2.91 (-2.25, 2.89) [-3.00, 1.00]
Games | N: 35812 W: 7980 L: 7910 D: 19922
Penta | [20, 3820, 10158, 3886, 22]

Bench: 5389308
  • Loading branch information
PGG106 authored Sep 24, 2024
1 parent 54c499e commit 77700dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ int Negamax(int alpha, int beta, int depth, const bool cutNode, ThreadData* td,

const int moveHistory = GetHistoryScore(pos, sd, move, ss, false);
if ( !rootNode
&& BoardHasNonPawns(pos, pos->side)
&& bestScore > -MATE_FOUND) {

// lmrDepth is the current depth minus the reduction the move would undergo in lmr, this is helpful because it helps us discriminate the bad moves with more accuracy
Expand Down

0 comments on commit 77700dd

Please sign in to comment.