mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Remove traits class for ComputeMoments filter.
TypeListTagAll only defines vectors up to size 4, while the default filter traits do not restrict input types at all. Since the moments computation may use 6- or 9-tuple vecs, this restriction is breaking those usecases.
This commit is contained in:
parent
a5e7f20b13
commit
ac718e2b33
@ -37,15 +37,6 @@ private:
|
||||
vtkm::Vec<vtkm::Int32, 3> Radius = { 1, 1, 1 };
|
||||
vtkm::Int32 Order = 0;
|
||||
};
|
||||
|
||||
template <>
|
||||
class FilterTraits<vtkm::filter::ComputeMoments>
|
||||
{
|
||||
public:
|
||||
struct InputFieldTypeList : vtkm::TypeListTagAll
|
||||
{
|
||||
};
|
||||
};
|
||||
}
|
||||
} // namespace vtkm::filter
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user