diff --git a/source/search.cpp b/source/search.cpp index 581c131..33f7db9 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -104,7 +104,7 @@ static int GetReductions(Board &board, Move &move, int depth, int moveSeen, int double base = 0.77; double divisor = 2.36; - reduction = std::round(base + std::log(depth) * std::log(moveSeen) / divisor); + reduction = std::floor(base + std::log(depth) * std::log(moveSeen) / divisor); } return reduction;