Skip to content

Commit

Permalink
ablation: no extension for ttmove without singular extension
Browse files Browse the repository at this point in the history
test r15
  • Loading branch information
dhbloo committed Jul 28, 2024
1 parent 49a8c22 commit ed27859
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1074,14 +1074,14 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
}

// Extension for ttmove without singular extension
else if (move == ttMove) {
// Extension for ttmove
extension = PvNode ? TTM_EXT_PV : TTM_EXT_NONPV;

// Additional extension for near B4 ttmove
if (ss->moveP4[self] >= E_BLOCK4 && distSelf <= 6)
extension += (distSelf <= 4 ? NEARB4_EXT_DIST4 : NEARB4_EXT_DIST6);
}
//else if (move == ttMove) {
// // Extension for ttmove
// extension = PvNode ? TTM_EXT_PV : TTM_EXT_NONPV;

// // Additional extension for near B4 ttmove
// if (ss->moveP4[self] >= E_BLOCK4 && distSelf <= 6)
// extension += (distSelf <= 4 ? NEARB4_EXT_DIST4 : NEARB4_EXT_DIST6);
//}

// Fail high reduction
if (likelyFailHigh) {
Expand Down

0 comments on commit ed27859

Please sign in to comment.