Fix LMR threshold

This commit is contained in:
Mattia Giambirtone 2024-05-07 00:34:24 +02:00
parent 7292356948
commit d9f16c5ceb
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ proc getReduction(self: SearchManager, move: Move, depth, ply, moveNumber: int,
## Returns the amount a search depth can be reduced to
# Move reduction gains: 54.1 +/- 25.5
if moveNumber > 3 and depth > 2:
if moveNumber > 2 and depth > 2:
result = LMR_TABLE[depth][moveNumber]
if not isPV:
# Reduce non PV nodes more