mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 21:26:00 +08:00
fix compilation in C++98
(grafted from 8640093af1f66dd6c390420ee6919f7ba0c89e0c )
This commit is contained in:
parent
f843239452
commit
676a7a3271
@ -81,8 +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;
|
||||||
|
|
||||||
bool res = std::is_base_of<B, A>::value;
|
#if EIGEN_HAS_CXX11
|
||||||
VERIFY_IS_EQUAL(res, true);
|
VERIFY(bool(std::is_base_of<B, A>::value));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_autodiff_scalar()
|
void test_autodiff_scalar()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user