Skip to content

Commit

Permalink
ablation: no reduce for pv ttMove
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 dae3f31
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 @@ -892,8 +892,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
depth -= IIR_REDUCTION_PV;

// Reduce for pv ttMove that has not been chosen for a few iterations
if (PvNode && depth > 1 && ttMove)
depth -= std::clamp((depth - ttDepth) * IIR_REDUCTION_TT, 0.0f, IIR_REDUCTION_TT_MAX);
/*if (PvNode && depth > 1 && ttMove)
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)
Expand Down

0 comments on commit dae3f31

Please sign in to comment.