changed history lmr divisor to 8192 | bench 4220135
This commit is contained in:
1 parent
236edd83c4
commit
0f328d321c
1 file changed
+2
-2
+2
-2
@@ -125,8 +125,8 @@ static int GetReductions(Board &board, Move &move, int depth, int moveSeen, int
|
|||||||
reduction += 2;
|
reduction += 2;
|
||||||
|
|
||||||
// History LMR
|
// History LMR
|
||||||
int historyReduction = ctx.history[board.sideToMove][move.MoveFrom()][move.MoveTo()] / 4096;
|
int historyReduction = ctx.history[board.sideToMove][move.MoveFrom()][move.MoveTo()] / 8192;
|
||||||
reduction -= std::clamp(historyReduction, -3, 3);
|
reduction -= historyReduction;
|
||||||
}
|
}
|
||||||
|
|
||||||
return std::clamp(reduction, -1, depth - 1);
|
return std::clamp(reduction, -1, depth - 1);
|
||||||
|
|||||||
Reference in new issue
Block a user