Skip to content

Commit

Permalink
simplify fail low bonus
Browse files Browse the repository at this point in the history
bench 1258715
  • Loading branch information
xu-shawn committed Sep 15, 2024
1 parent f677aee commit b9bf8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ Value Search::Worker::search(
}

// Bonus when search fails low and there is a TT move
else if (moveCount > 1 && ttData.move && !allNode)
else if (ttData.move && !allNode)
thisThread->mainHistory[us][ttData.move.from_to()] << stat_bonus(depth) / 4;

if (PvNode)
Expand Down

0 comments on commit b9bf8d9

Please sign in to comment.