diff --git a/vtkm/filter/ComputeMoments.hxx b/vtkm/filter/ComputeMoments.hxx index 0b3c4eea9..2aadbf5a8 100644 --- a/vtkm/filter/ComputeMoments.hxx +++ b/vtkm/filter/ComputeMoments.hxx @@ -12,8 +12,7 @@ #define vtk_m_filter_ComputeMoments_hxx #include -#include -#include +#include #include namespace vtkm @@ -38,7 +37,7 @@ inline VTKM_CONT vtkm::cont::DataSet ComputeMoments::DoExecute( throw vtkm::cont::ErrorBadValue("Active field for ComputeMoments must be a point field."); } - vtkm::cont::DataSet output = internal::CreateResult(input); + vtkm::cont::DataSet output = vtkm::filter::CreateResult(input); auto worklet = vtkm::worklet::moments::ComputeMoments(this->Radius);