Commit 9c496e5d authored by Robert Maynard's avatar Robert Maynard

Correct warning found in ArrayHandleVirtualCoordinates with cuda 8.0

parent 78e9cf09
......@@ -143,7 +143,7 @@ public:
static VTKM_CONT void save(BinaryBuffer& bb, const BaseType& obj)
const vtkm::cont::StorageVirtual* storage = obj.GetStorage();
if (obj.template IsType<vtkm::cont::ArrayHandleUniformPointCoordinates>())
if (obj.IsType<vtkm::cont::ArrayHandleUniformPointCoordinates>())
using HandleType = vtkm::cont::ArrayHandleUniformPointCoordinates;
using T = typename HandleType::ValueType;
......@@ -152,7 +152,7 @@ public:
diy::save(bb, vtkm::cont::TypeString<HandleType>::Get());
diy::save(bb, array->GetHandle());
else if (obj.template IsType<RectilinearCoordsArrayType>())
else if (obj.IsType<RectilinearCoordsArrayType>())
using HandleType = RectilinearCoordsArrayType;
using T = typename HandleType::ValueType;
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