Skip to content

Commit

Permalink
always try ttMove extension
Browse files Browse the repository at this point in the history
test r15
  • Loading branch information
dhbloo committed Jun 13, 2024
1 parent fa863d2 commit 6417b94
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 @@ -1067,7 +1067,7 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
}

// Extension for ttmove without singular extension
else if (move == ttMove) {
if (move == ttMove) {
// Extension for ttmove
extension = PvNode ? 0.20f : 0.08f;

Expand All @@ -1076,7 +1076,7 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
extension += (distSelf <= 4 ? 0.20f : 0.05f);
}

// Fail high reduction
// Fail High Reduction/Extension
if (likelyFailHigh) {
if (ss->moveP4[self] >= E_BLOCK4) {
// If we failed high for two continous E_BLOCK4 moves, extend rather than reduce
Expand Down

0 comments on commit 6417b94

Please sign in to comment.