Skip to content

Commit

Permalink
ablation: no drop to vcfsearch if depth is below zero
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 9a94ea8
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 @@ -896,8 +896,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
depth -= std::clamp((depth - ttDepth) * IIR_REDUCTION_TT, 0.0f, IIR_REDUCTION_TT_MAX);

// Drop to vcfsearch if depth is below zero
if (depth <= 0)
return vcfsearch<Rule, NT>(board, ss, alpha, beta);
//if (depth <= 0)
// return vcfsearch<Rule, NT>(board, ss, alpha, beta);

if (depth >= IID_DEPTH && !ttMove) {
depth -= IIR_REDUCTION;
Expand Down

0 comments on commit 9a94ea8

Please sign in to comment.