Skip to content

Commit

Permalink
remove one nmp condition
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-shawn committed Mar 27, 2024
1 parent ed24e3a commit 4024db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ Value Search::Worker::search(

// Step 9. Null move search with verification search (~35 Elo)
if (!PvNode && (ss - 1)->currentMove != Move::null() && (ss - 1)->statScore < 16878
&& eval >= beta && eval >= ss->staticEval && ss->staticEval >= beta - 20 * depth + 314
&& !excludedMove && pos.non_pawn_material(us) && ss->ply >= thisThread->nmpMinPly
&& eval >= beta && ss->staticEval >= beta - 20 * depth + 314 && !excludedMove
&& pos.non_pawn_material(us) && ss->ply >= thisThread->nmpMinPly
&& beta > VALUE_TB_LOSS_IN_MAX_PLY)
{
assert(eval - beta >= 0);
Expand Down

0 comments on commit 4024db8

Please sign in to comment.