Skip to content

Commit

Permalink
One more test change for AlmostEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
lanctot committed Nov 14, 2023
1 parent 9368cb6 commit e42f7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/python/algorithms/cfr_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_cpp_algorithms_identical_to_python_algorithm(self, game, cpp_class,
python_current_policy = python_solver.current_policy()
cpp_expl = pyspiel.nash_conv(game, cpp_current_policy)
python_expl = exploitability.nash_conv(game, python_current_policy)
self.assertEqual(cpp_expl, python_expl)
self.assertAlmostEqual(cpp_expl, python_expl, places=10)


class CorrDistTest(absltest.TestCase):
Expand Down

0 comments on commit e42f7e2

Please sign in to comment.