Commit 2d3d157e authored by Robert Maynard's avatar Robert Maynard
Browse files

Properly use the policy to determine the coordiante policy conversions.

parent 1adb5d28
......@@ -100,8 +100,7 @@ ApplyPolicy(const vtkm::cont::CoordinateSystem& coordinates,
{
//todo: we need to intersect the policy field type list and the
//filter traits to the get smallest set of valid types
typedef typename vtkm::filter::FilterTraits<FilterType>::InputFieldTypeList TypeList;
// typedef typename DerivedPolicy::CoordinateTypeList TypeList;
typedef typename DerivedPolicy::CoordinateTypeList TypeList;
typedef typename DerivedPolicy::CoordinateStorageList StorageList;
return coordinates.GetData().ResetTypeAndStorageLists(TypeList(),StorageList());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment