mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
fix compilation in C++98
This commit is contained in:
parent
a7be4cd1b1
commit
8640093af1
@ -81,8 +81,9 @@ void check_limits_specialization()
|
||||
typedef std::numeric_limits<AD> A;
|
||||
typedef std::numeric_limits<Scalar> B;
|
||||
|
||||
bool res = std::is_base_of<B, A>::value;
|
||||
VERIFY_IS_EQUAL(res, true);
|
||||
#if EIGEN_HAS_CXX11
|
||||
VERIFY(bool(std::is_base_of<B, A>::value));
|
||||
#endif
|
||||
}
|
||||
|
||||
void test_autodiff_scalar()
|
||||
|
Loading…
Reference in New Issue
Block a user