mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 04:09:10 +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
|
#ifdef EIGEN_EXCEPTIONS
|
||||||
throw std::bad_alloc();
|
throw std::bad_alloc();
|
||||||
#else
|
#else
|
||||||
std::size_t huge = -1;
|
std::size_t huge = -1ULL;
|
||||||
new int[huge];
|
new int[huge];
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user