Commit 70e145fd authored by Thomas Otahal's avatar Thomas Otahal

Attempt to fix Visual Studio 2013/2015 warning message

parent f1300c61
......@@ -88,7 +88,7 @@ VTKM_EXEC_CONT
typename detail::FloatingPointReturnType<T>::Type
MagnitudeTemplate(T x, vtkm::TypeTraitsScalarTag)
return vtkm::Abs(x);
return static_cast<typename detail::FloatingPointReturnType<T>::Type>(vtkm::Abs(x));
template<typename T>
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