Skip to content

Commit e07aba9

Browse files
committed
Give up on supressing scientific notation
1 parent e6e8598 commit e07aba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chess/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ def _epd_operations(self, operations: Mapping[str, Union[None, str, int, float,
23572357
epd.append(f" {operand};")
23582358
elif isinstance(operand, float):
23592359
assert math.isfinite(operand), f"expected numeric epd operand to be finite, got: {operand}"
2360-
epd.append(f" {operand:f};")
2360+
epd.append(f" {operand};")
23612361
elif opcode in ["pv", "am", "bm"] and not isinstance(operand, str) and hasattr(operand, "__iter__"):
23622362
# Value is a set of moves or a variation.
23632363
position = Board(self.shredder_fen()) if opcode == "pv" else self

0 commit comments

Comments
 (0)