Skip to content

Commit

Permalink
Update search.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TarasVuk authored Oct 7, 2023
1 parent afe7f4d commit aa2691f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,10 @@ namespace {
&& depth < 9
&& eval - futility_margin(depth, cutNode && !ss->ttHit, improving) - (ss-1)->statScore / 306 >= beta
&& eval >= beta
&& eval < 24923) // smaller than TB wins
&& eval < 24923 // smaller than TB wins
&& !( !ttCapture
&& ttMove
&& thisThread->mainHistory[us][from_to(ttMove)] < 989))
return eval;

// Step 9. Null move search with verification search (~35 Elo)
Expand Down

0 comments on commit aa2691f

Please sign in to comment.