Minor tweaks
This commit is contained in:
parent
2de3f64562
commit
4cb994a3a6
|
@ -4,4 +4,3 @@
|
||||||
--passL:"-flto"
|
--passL:"-flto"
|
||||||
--passC:"-flto -march=native -mtune=native"
|
--passC:"-flto -march=native -mtune=native"
|
||||||
--mm:atomicArc
|
--mm:atomicArc
|
||||||
--deepCopy
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ func highestEval*: Score {.inline.} = Score(25_000)
|
||||||
func mateScore*: Score {.inline.} = lowestEval() + 1
|
func mateScore*: Score {.inline.} = lowestEval() + 1
|
||||||
|
|
||||||
|
|
||||||
proc getGamePhase(board: Chessboard): int =
|
func getGamePhase(board: Chessboard): int {.inline.} =
|
||||||
## Computes the game phase according to
|
## Computes the game phase according to
|
||||||
## how many pieces are left on the board
|
## how many pieces are left on the board
|
||||||
result = 0
|
result = 0
|
||||||
|
|
Loading…
Reference in New Issue