Skip to content

Commit

Permalink
hound
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Aug 1, 2019
1 parent 5e34d8e commit 2c9334b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_convoys.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def test_linear_model(n=10000, k=5, lambd=0.1):
model_cs = model.params['map']['b'] + model.params['map']['beta']
for model_c, c in zip(model_cs, cs):
assert c - 0.03 < model_c < c + 0.03
model_lambds = numpy.exp(model.params['map']['a'] + model.params['map']['alpha'])
model_lambds = numpy.exp(model.params['map']['a'] +
model.params['map']['alpha'])
for model_lambd in model_lambds:
assert 0.97*lambd < model_lambd < 1.03*lambd

Expand Down

0 comments on commit 2c9334b

Please sign in to comment.