floor instead of round | bench 345289

This commit is contained in:
rektdie committed 2025-03-19 21:56:44 +01:00
1 parent 1d774b55d8
commit 1dde3a924a
1 file changed
+1 -1
+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 base = 0.77;
double divisor = 2.36; 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; return reduction;