Skip to content

Commit

Permalink
bench: 1303971
Browse files Browse the repository at this point in the history
bench: 1303971
  • Loading branch information
FauziAkram authored Feb 27, 2024
1 parent 03d60bf commit 30f82e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ namespace {
// Futility margin
Value futility_margin(Depth d, bool noTtCutNode, bool improving) {
Value futilityMult = 117 - 44 * noTtCutNode;
return (improving? futilityMult * d - 3 * futilityMult / 2
:futilityMult * d);
return (futilityMult * d) - ((3 * futilityMult / 2) * improving);
}

constexpr int futility_move_count(bool improving, Depth depth) {
Expand Down

0 comments on commit 30f82e3

Please sign in to comment.