diff --git a/vtkm/filter/FilterDataSet.hxx b/vtkm/filter/FilterDataSet.hxx index 732240c13..272079c53 100644 --- a/vtkm/filter/FilterDataSet.hxx +++ b/vtkm/filter/FilterDataSet.hxx @@ -57,8 +57,7 @@ inline VTKM_CONT bool FilterDataSet::MapFieldOntoOutput( using FunctorType = internal::ResolveFieldTypeAndMap; FunctorType functor(static_cast(this), result, metaData, policy, valid); - using Traits = vtkm::filter::FilterTraits; - vtkm::cont::CastAndCall(vtkm::filter::ApplyPolicyFieldActive(field, policy, Traits()), functor); + vtkm::cont::CastAndCall(vtkm::filter::ApplyPolicyFieldNotActive(field, policy), functor); //the bool valid will be modified by the map algorithm to hold if the //mapping occurred or not. If the mapping was good a new field has been