E ---------------------------------------------------------------------------
E TypeError Traceback (most recent call last)
E Cell In[30], line 7
E 2 print(
E 3 f"{player.label}'s expected payoffs:"
E 4 )
E 5 for action in player.actions:
E 6 print(
E ----> 7 f"At information set {action.infoset.number}, "
E 8 f"when playing {action.label} - "
E 9 f"gnm: {gnm_eqm.as_behavior().action_value(action):.4f}"
E 10 f", lcp: {eqm.action_value(action):.4f}"
E 11 )
E 12 print()
E
E TypeError: unsupported format string passed to Rational.__format__
Where did you find this bug?
PyGambit
What operating system are you using?
macOS
What version of Gambit are you using?
Version: 16.4.0
What happened?
When running
pytest tests/test_tutorials.pyI get the following error: