Adjust expected precision based on estimator.

This commit is contained in:
Patrick Shriwise 2020-03-26 14:01:57 -05:00
parent 7e386ff7ff
commit c54d3abf1c

View file

@ -209,7 +209,7 @@ class UnstructuredMeshTest(PyAPITestHarness):
# we expect these results to be the same to within at least ten
# decimal places
decimals = 8
decimals = 10 if self.estimator == 'collision' else 8
np.testing.assert_array_almost_equal(unstructured_data,
reg_mesh_data,
decimals)