Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
MJZ1977 committed Aug 13, 2019
1 parent fcee0ce commit 2e3a4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ namespace {

// Step 8. Futility pruning: child node (~30 Elo)
if ( !PvNode
&& depth < 7 * ONE_PLY
&& depth < (6 + (abs(eval - ss->staticEval) > 200) * 2) * ONE_PLY
&& eval - futility_margin(depth, improving) >= beta
&& eval < VALUE_KNOWN_WIN) // Do not return unproven wins
return eval;
Expand Down

0 comments on commit 2e3a4ea

Please sign in to comment.