Skip to content

Commit

Permalink
Adjust test tolerances to account for differences in random number ge…
Browse files Browse the repository at this point in the history
…nerators
  • Loading branch information
TallJimbo committed Sep 23, 2014
1 parent 29983d9 commit cf2f186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testMatrixBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def testRemappedConvolvedShapeletMatrixBuilder(self):
convolved = function.convolve(psf.getComponents()[0])
checkEvaluator = convolved.evaluate()
checkVector = checkEvaluator(self.xD, self.yD)
self.assertClose(numpy.dot(matrixD, coefficients), checkVector, rtol=1E-13)
self.assertClose(numpy.dot(matrixD, coefficients), checkVector, rtol=1E-12)

def testCompoundMatrixBuilder(self):
ellipse = lsst.afw.geom.ellipses.Ellipse(lsst.afw.geom.ellipses.Axes(4.0, 3.0, 1.0),
Expand Down

0 comments on commit cf2f186

Please sign in to comment.