Skip to content

Commit

Permalink
fixed bingham watson test
Browse files Browse the repository at this point in the history
  • Loading branch information
rutgerfick committed Sep 19, 2018
1 parent bdee952 commit 604dd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmipy/distributions/tests/test_bingham.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_bingham_equal_to_watson(beta_fraction=0):
mu_ = np.random.rand(2)
n_cart = utils.sphere2cart(np.r_[1., mu_])
psi_ = np.random.rand() * np.pi
odi_ = np.random.rand()
odi_ = np.max([0.1, np.random.rand()])
bingham = distributions.SD2Bingham(mu=mu_, psi=psi_,
odi=odi_,
beta_fraction=beta_fraction)
Expand Down

0 comments on commit 604dd6e

Please sign in to comment.