Skip to content

Commit

Permalink
Tighten tolerances in BoundedField interpolation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Jul 28, 2017
1 parent f327e48 commit 8169830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_chebyshevBoundedField.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def testFillImageInterpolation(self):
field.fillImage(image2, xStep=3)
field.fillImage(image3, yStep=4)
field.fillImage(image4, xStep=3, yStep=4)
self.assertFloatsAlmostEqual(image1.array, image2.array, rtol=2E-2, atol=2E-2)
self.assertFloatsAlmostEqual(image1.array, image3.array, rtol=2E-2, atol=2E-2)
self.assertFloatsAlmostEqual(image1.array, image2.array, rtol=1E-2, atol=1E-2)
self.assertFloatsAlmostEqual(image1.array, image3.array, rtol=1.5E-2, atol=1.5E-2)
self.assertFloatsAlmostEqual(image1.array, image4.array, rtol=2E-2, atol=2E-2)

def testEvaluate(self):
Expand Down

0 comments on commit 8169830

Please sign in to comment.