Skip to content

Commit

Permalink
updated unit test for TD.
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaghiassian committed Jun 1, 2021
1 parent bd38c36 commit cbc82bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Algorithms/TestTD.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ def test_learn_single_policy_rmsve_after_num_steps(self):
self.alg.reset()
continue
self.alg.state = self.alg.next_state
self.assertEqual(rmsve_of_run[0, -1], 0.08319472840990755)
self.assertTrue(abs(0.08319472840990755 - rmsve_of_run[0, -1]) <= 0.0000001)

0 comments on commit cbc82bc

Please sign in to comment.