diff --git a/vtkm/filter/image_processing/ImageDifference.cxx b/vtkm/filter/image_processing/ImageDifference.cxx index 8c81a4177..ebfacd00b 100644 --- a/vtkm/filter/image_processing/ImageDifference.cxx +++ b/vtkm/filter/image_processing/ImageDifference.cxx @@ -124,7 +124,7 @@ VTKM_CONT vtkm::cont::DataSet ImageDifference::DoExecute(const vtkm::cont::DataS "Difference within threshold: " << this->ImageDiffWithinThreshold << ", for pixels outside threshold: " << errorPixels.GetNumberOfValues() - << ", with a total number of pixesl: " << thresholdOutput.GetNumberOfValues() + << ", with a total number of pixels: " << thresholdOutput.GetNumberOfValues() << ", and an allowable pixel error ratio: " << this->AllowedPixelErrorRatio << ", with a total summed threshold error: " << vtkm::cont::Algorithm::Reduce(errorPixels, static_cast(0))); diff --git a/vtkm/filter/testing/RenderTestAmrArrays.cxx b/vtkm/filter/testing/RenderTestAmrArrays.cxx index 21802b714..e4f98e6b7 100644 --- a/vtkm/filter/testing/RenderTestAmrArrays.cxx +++ b/vtkm/filter/testing/RenderTestAmrArrays.cxx @@ -49,6 +49,7 @@ void TestAmrArraysExecute(int dim, int numberOfLevels, int cellsPerDimension) // result.PrintSummary(std::cout); vtkm::rendering::testing::RenderTestOptions testOptions; + testOptions.AllowedPixelErrorRatio = 0.001f; testOptions.ColorTable = vtkm::cont::ColorTable("inferno"); testOptions.EnableAnnotations = false; vtkm::rendering::testing::RenderTest( diff --git a/vtkm/rendering/testing/UnitTestMapperConnectivity.cxx b/vtkm/rendering/testing/UnitTestMapperConnectivity.cxx index 4d6533abc..c80fdf5c4 100644 --- a/vtkm/rendering/testing/UnitTestMapperConnectivity.cxx +++ b/vtkm/rendering/testing/UnitTestMapperConnectivity.cxx @@ -28,6 +28,7 @@ void RenderTests() vtkm::cont::testing::MakeTestDataSet maker; vtkm::rendering::testing::RenderTestOptions testOptions; + testOptions.AllowedPixelErrorRatio = 0.002f; testOptions.Mapper = vtkm::rendering::testing::MapperType::Connectivity; testOptions.AllowAnyDevice = false; testOptions.ColorTable = vtkm::cont::ColorTable::Preset::Inferno;