Commit 4810cef7 authored by Sujin Philip's avatar Sujin Philip
Browse files

Field::SetData should accept any ArrayHandle type

parent cda85450
......@@ -249,8 +249,8 @@ public:
vtkm::cont::DynamicArrayHandle& GetData();
template <typename T>
VTKM_CONT void SetData(const vtkm::cont::ArrayHandle<T>& newdata)
template <typename T, typename StorageTag>
VTKM_CONT void SetData(const vtkm::cont::ArrayHandle<T, StorageTag>& newdata)
this->Data = newdata;
this->ModifiedFlag = true;
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