Minor tweaks
This commit is contained in:
parent
d4fe999567
commit
877b6f4b06
|
@ -4,4 +4,3 @@
|
|||
--passL:"-flto"
|
||||
--passC:"-flto -march=native -mtune=native"
|
||||
--mm:atomicArc
|
||||
--deepCopy
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue