Skip to content

Commit

Permalink
test bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Anto Idicherian Lonappan <[email protected]>
  • Loading branch information
antolonappan committed Aug 31, 2023
1 parent 24f8603 commit f520080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def setUp(self):

def test_chisq(self):
chisq = self.lk.chisq([70,0.3,147.78])
assert np.allclose(round(chisq,3), 20.170710552057066)
assert np.allclose(round(chisq,3), 20.170)

def test_logLike(self):
loglike = self.lk.logLike([70,0.3,147.78])
assert np.allclose(round(loglike,4), -10.085355276028533)
assert np.allclose(round(loglike,4), -10.0853)

class TestSampler(unittest.TestCase):
def setUp(self):
Expand Down

0 comments on commit f520080

Please sign in to comment.