Commit bff75de4 authored by Allison Vacanti's avatar Allison Vacanti
Browse files

Use std::is_integral<T>::value instead of is_int<>{}.

NVCC doesn't seem to handle the construction + implicit conversion
well. Explicitly specifying the value fixes this.
parent 468ee61c
......@@ -291,7 +291,7 @@ struct ReduceHelper
template <typename T, typename U>
struct IsIntegral<vtkm::Pair<T, U>>
: public std::integral_constant<bool, std::is_integral<T>{} && std::is_integral<U>{}>
: public std::integral_constant<bool, std::is_integral<T>::value && std::is_integral<U>::value>
{
};
......
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