mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 13:45:58 +08:00
Workaround warning
(grafted from 3ffd449ef5f3e2e3d08dc3b683be3a2f291b6e70 )
This commit is contained in:
parent
c92536d926
commit
2480d04ac7
@ -81,6 +81,9 @@ void check_limits_specialization()
|
|||||||
typedef std::numeric_limits<AD> A;
|
typedef std::numeric_limits<AD> A;
|
||||||
typedef std::numeric_limits<Scalar> B;
|
typedef std::numeric_limits<Scalar> B;
|
||||||
|
|
||||||
|
// workaround "unsed typedef" warning:
|
||||||
|
VERIFY(!bool(internal::is_same<B, A>::value));
|
||||||
|
|
||||||
#if EIGEN_HAS_CXX11
|
#if EIGEN_HAS_CXX11
|
||||||
VERIFY(bool(std::is_base_of<B, A>::value));
|
VERIFY(bool(std::is_base_of<B, A>::value));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user