mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Silenced a compilation warning produced by nvcc.
This commit is contained in:
parent
a91a7a1964
commit
a1fcf599fa
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user