Commit 2554de78 authored by Dave Pugmire's avatar Dave Pugmire

Fix tolerance for unittest.

parent 9e486e07
......@@ -30,7 +30,7 @@ void ValidateLCSFilterResult(const vtkm::cont::ArrayHandle<vtkm::FloatDefault>&
VTKM_TEST_ASSERT(vtkmOutput.GetNumberOfValues() == visitOutput.GetNumberOfValues(),
"Wrong number of values");
const vtkm::FloatDefault tolerance = static_cast<vtkm::FloatDefault>(1.0e-05);
const vtkm::FloatDefault tolerance = 100 * vtkm::Epsilon<vtkm::FloatDefault>();
auto vtkmPortal = vtkmOutput.GetPortalConstControl();
auto visitPortal = visitOutput.GetPortalConstControl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment