floor instead of round | bench 345289
This commit is contained in:
1 parent
1d774b55d8
commit
1dde3a924a
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user