mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Update moments filter to reflect namespace changes.
This commit is contained in:
parent
1edf3809fb
commit
e5008a017a
@ -12,8 +12,7 @@
|
||||
#define vtk_m_filter_ComputeMoments_hxx
|
||||
|
||||
#include <vtkm/cont/ArrayHandle.h>
|
||||
#include <vtkm/filter/internal/CreateResult.h>
|
||||
#include <vtkm/worklet/Invoker.h>
|
||||
#include <vtkm/filter/CreateResult.h>
|
||||
#include <vtkm/worklet/moments/ComputeMoments.h>
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user