Remove EIGEN_CONSTEXPR from NumTraits<boost::multiprecision::number<...>>

This commit is contained in:
David Tellenbach 2020-09-21 12:43:41 +02:00
parent 38e4a67394
commit 493a7c773c

View File

@ -78,7 +78,7 @@ typedef mp::number<mp::cpp_dec_float<100>, mp::et_on> Real;
namespace Eigen { namespace Eigen {
template<> struct NumTraits<Real> : GenericNumTraits<Real> { template<> struct NumTraits<Real> : GenericNumTraits<Real> {
static EIGEN_CONSTEXPR inline Real dummy_precision() { return 1e-50; } static inline Real dummy_precision() { return 1e-50; }
}; };
template<typename T1,typename T2,typename T3,typename T4,typename T5> template<typename T1,typename T2,typename T3,typename T4,typename T5>