Merge pull request #9284 from benediktwerner/fix-eval-cache-moves-num
Fix eval cache move number calc
This commit is contained in:
commit
5b133a4a82
|
@ -95,5 +95,5 @@ final class EvalCacheApi(
|
||||||
}
|
}
|
||||||
|
|
||||||
private def destSize(fen: FEN): Int =
|
private def destSize(fen: FEN): Int =
|
||||||
chess.Game(chess.variant.Standard.some, fen.some).situation.destinations.size
|
chess.Game(chess.variant.Standard.some, fen.some).situation.moves.view.map(_._2.size).sum
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue