Fix eval cache move number calc

pull/9284/head
Benedikt Werner 2021-06-28 15:40:05 +02:00
parent 82d8761dce
commit dc15613e98
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
1 changed files with 1 additions and 1 deletions

View File

@ -95,5 +95,5 @@ final class EvalCacheApi(
}
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
}