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:
Allison Vacanti 2019-07-25 14:03:43 -04:00
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