Correct warning found in ArrayHandleVirtualCoordinates with cuda 8.0

This commit is contained in:
Robert Maynard 2018-12-13 09:40:38 -05:00
parent 78e9cf0929
commit 9c496e5da0

@ -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;