Skip to content

Commit

Permalink
ablation: no reduce other moves if we have found at least one score imp
Browse files Browse the repository at this point in the history
test r15
  • Loading branch information
dhbloo committed Jul 26, 2024
1 parent 49a8c22 commit 223fb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
searchData->rootAlpha = alpha;

// Reduce other moves if we have found at least one score improvement
if (depth > 2 && depth < 12 && beta < 2000 && value > -2000)
depth -= 1;
//if (depth > 2 && depth < 12 && beta < 2000 && value > -2000)
// depth -= 1;

// If we are in balance move mode, we also shrink beta as to narrow
// the search window to [-abs(v-bias)+bias, abs(v-bias)+bias].
Expand Down

0 comments on commit 223fb97

Please sign in to comment.