Skip to content

Commit

Permalink
Adjust beta=0.95 to avoid valuerror in test_lqnash.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanhobbs committed Sep 17, 2019
1 parent 17a27c8 commit 0aff0bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantecon/tests/test_lqnash.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_noninteractive(self):
rlq = r1[:1, :1]
qlq = q1

lq_obj = LQ(qlq, rlq, alq, blq, beta=1.)
lq_obj = LQ(qlq, rlq, alq, blq, beta=0.95)
p, f, d = lq_obj.stationary_values()

assert_allclose(f1, f2[:, ::-1])
Expand Down Expand Up @@ -86,7 +86,7 @@ def test_nnash(self):

# build model and solve it
f1, f2, p1, p2 = nnash(a, b1, b2, r1, r2, q1, q2, s1, s2, w1, w2, m1,
m2)
m2, random_state=123456)

aaa = a - b1.dot(f1) - b2.dot(f2)
aa = aaa[:2, :2]
Expand Down

0 comments on commit 0aff0bb

Please sign in to comment.