Skip to content

Commit

Permalink
IIR tweak 2
Browse files Browse the repository at this point in the history
Bench: 2188302
  • Loading branch information
SzilBalazs committed Aug 10, 2023
1 parent cc9902b commit cb57f11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/search/search_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,10 @@ namespace search {
if (root_node || in_check)
goto search_moves;

if (!entry && non_pv_node && depth >= 4)
depth--;
if (!entry) {
depth -= depth >= 4;
depth -= pv_node;
}

if (depth <= 3 && static_eval + 150 * depth <= alpha) {
Score score = qsearch<NON_PV_NODE>(alpha, beta);
Expand Down

0 comments on commit cb57f11

Please sign in to comment.