Skip to content

Commit

Permalink
ablation: no decrease reduction if position is or has been on the PV
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 d11217d
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 @@ -1122,8 +1122,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
r += complexity * complexityReduction<Rule>(trivialMove, importantMove, distract);

// Decrease reduction if position is or has been on the PV
if (ss->ttPv)
r -= 1.0f;
//if (ss->ttPv)
// r -= 1.0f;

// Increase reduction for nodes that does not improve root alpha
if (!RootNode && (ss->ply & 1) && bestValue >= -searchData->rootAlpha)
Expand Down

0 comments on commit d11217d

Please sign in to comment.