Minor tweaks

This commit is contained in:
Mattia Giambirtone 2024-05-01 18:10:38 +02:00
parent d4fe999567
commit 877b6f4b06
2 changed files with 1 additions and 2 deletions

View File

@ -4,4 +4,3 @@
--passL:"-flto"
--passC:"-flto -march=native -mtune=native"
--mm:atomicArc
--deepCopy

View File

@ -202,7 +202,7 @@ func highestEval*: Score {.inline.} = Score(25_000)
func mateScore*: Score {.inline.} = lowestEval() + 1
proc getGamePhase(board: Chessboard): int =
func getGamePhase(board: Chessboard): int {.inline.} =
## Computes the game phase according to
## how many pieces are left on the board
result = 0