Skip to content

Commit

Permalink
Fix argument syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Feb 24, 2024
1 parent 8e91525 commit 315052c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def __ge__(self, other: object) -> bool:
else:
return NotImplemented

def _sf16_1_wins(cp: int, *, ply=int) -> int:
def _sf16_1_wins(cp: int, *, ply: int) -> int:
# https://github.com/official-stockfish/Stockfish/blob/sf_16.1/src/uci.cpp#L48
NormalizeToPawnValue = 356
# https://github.com/official-stockfish/Stockfish/blob/sf_16.1/src/uci.cpp#L383-L384
Expand Down

0 comments on commit 315052c

Please sign in to comment.