Lmr fix #25

Merged
rektdie merged 2 commits from lmr_fix into main 2025-03-19 23:08:03 +01:00
Showing only changes of commit 1dde3a924a - Show all commits
+1 -1
View File
@@ -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;