Silenced a compilation warning produced by nvcc.

This commit is contained in:
Benoit Steiner 2014-04-10 11:19:37 -07:00
parent a91a7a1964
commit a1fcf599fa

View File

@ -89,7 +89,7 @@ inline void throw_std_bad_alloc()
#ifdef EIGEN_EXCEPTIONS
throw std::bad_alloc();
#else
std::size_t huge = -1;
std::size_t huge = -1ULL;
new int[huge];
#endif
}