Skip to content

Commit

Permalink
Merge pull request #1135 from robertnurnberg/typo
Browse files Browse the repository at this point in the history
fix typo in comment
  • Loading branch information
niklasf authored Jan 20, 2025
2 parents 3a97469 + 57536b1 commit f93a7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess/syzygy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ def probe_dtz(self, board: chess.Board) -> int:
+-----+------------------+--------------------------------------------+
The return value can be off by one: a return value -n can mean a
losing zeroing move in in n + 1 plies and a return value +n can mean a
losing zeroing move in n + 1 plies and a return value +n can mean a
winning zeroing move in n + 1 plies.
This implies some primary tablebase lines may waste up to 1 ply.
Rounding is never used for endgame phases where it would change the
Expand Down

0 comments on commit f93a7ff

Please sign in to comment.