Skip to content

Commit

Permalink
Tweak RFP depth
Browse files Browse the repository at this point in the history
Bench: 2202749
  • Loading branch information
SzilBalazs committed Aug 13, 2023
1 parent cc9902b commit 9c58182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/search_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ namespace search {
return score;
}

if (non_pv_node && depth <= 6 && static_eval - (depth - improving) * 70 >= beta && std::abs(beta) < WORST_MATE)
if (non_pv_node && depth <= 8 && static_eval - (depth - improving) * 70 >= beta && std::abs(beta) < WORST_MATE)
return static_eval;

if (non_pv_node && depth >= 3 && static_eval >= beta && board.has_non_pawn()) {
Expand Down

0 comments on commit 9c58182

Please sign in to comment.