Skip to content

Commit

Permalink
TEST: Set atol in test_robust_rule_vs_simple
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Oct 25, 2017
1 parent c570368 commit 6aea839
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions quantecon/tests/test_robustlq.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ def test_robust_rule_vs_simple(self):
assert_allclose(Kr, Ks, rtol=1e-4)
assert_allclose(Pr, Ps, rtol=1e-4)

atol = 1e-10
assert_allclose(Fr_pf, Fs_pf, rtol=1e-4)
assert_allclose(Kr_pf, Ks_pf, rtol=1e-4)
assert_allclose(Pr_pf, Ps_pf, rtol=1e-4)
assert_allclose(Kr_pf, Ks_pf, rtol=1e-4, atol=atol)
assert_allclose(Pr_pf, Ps_pf, rtol=1e-4, atol=atol)


def test_f2k_and_k2f(self):
Expand Down

0 comments on commit 6aea839

Please sign in to comment.