Commit 37d01008 authored by Kenneth Moreland's avatar Kenneth Moreland Committed by Kitware Robot

Merge topic 'correct-simple-unique'

7a2ef646 Correct the implementation of DeviceAdapterAlgorithmGeneral::Unique
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Allison Vacanti's avatarAllison Vacanti <allison.vacanti@kitware.com>
Merge-request: !982
parents b3fcc82d 7a2ef646
......@@ -32,6 +32,7 @@
#include <vtkm/exec/internal/ErrorMessageBuffer.h>
#include <vtkm/exec/internal/TaskSingular.h>
#include <vtkm/BinaryPredicates.h>
#include <vtkm/TypeTraits.h>
#include <vtkm/internal/Windows.h>
......@@ -767,7 +768,7 @@ public:
template <typename T, class Storage>
VTKM_CONT static void Unique(vtkm::cont::ArrayHandle<T, Storage>& values)
{
Unique(values, std::equal_to<T>());
DerivedAlgorithm::Unique(values, vtkm::Equal());
}
template <typename T, class Storage, class BinaryCompare>
......
Markdown is supported
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