diff --git a/src/search.cpp b/src/search.cpp index 2d39d578d..0af3c10ff 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -976,7 +976,7 @@ Value Search::Worker::search( if (!ss->ttPv && depth < 17 && eval >= beta && (!ttData.move || ttCapture) && !is_loss(beta) && !is_win(eval)) { - Value futilityMult = interpolate(std::min(int(depth), 10), 1, 10, 40, 80); + Value futilityMult = std::min(40 + depth * 4, 80); futilityMult -= 20 * !ss->ttHit; Value futilityMargin = futilityMult * depth