Commit 220b0f79 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'filter_coordinate_casting'

2d3d157e

 Properly use the policy to determine the coordiante policy conversions.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !385
parents 19def117 2d3d157e
......@@ -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