Workaround warning

This commit is contained in:
Gael Guennebaud 2018-04-24 17:11:51 +02:00
parent e8ca5166a9
commit 3ffd449ef5

View File

@ -81,6 +81,9 @@ void check_limits_specialization()
typedef std::numeric_limits<AD> A;
typedef std::numeric_limits<Scalar> B;
// workaround "unsed typedef" warning:
VERIFY(!bool(internal::is_same<B, A>::value));
#if EIGEN_HAS_CXX11
VERIFY(bool(std::is_base_of<B, A>::value));
#endif