Skip to content

Commit

Permalink
fix python3 fail?
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony Lewis committed Aug 5, 2015
1 parent f7214f2 commit 0edba43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getdist_tests/getdist_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def testDensitySymmetries(self):
samps.samples[:, 1] *= -1
samps = MCSamples(samples=samps.samples, names=['x', 'y'], ranges={'x':[-1, 2], 'y':[-3, 0]})
d2 = samps.get2DDensity('x', 'y')
self.assertTrue(np.allclose(d.P, d2.P[::-1, ::]))
self.assertTrue(np.allclose(d.P, d2.P[::-1, ::], atol=1e-5))


def testPlots(self):
Expand Down

0 comments on commit 0edba43

Please sign in to comment.