1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-04-30 07:44:10 +08:00

Fix boostmultiprec for C++03

This commit is contained in:
Gael Guennebaud 2016-07-22 15:30:54 +02:00
parent 395c835f4b
commit 24af67a6cc

@ -71,6 +71,17 @@ namespace Eigen {
template<>
Real test_precision<Real>() { return 1e-50; }
namespace internal {
template<typename NewType>
struct cast_impl<Real,NewType>
{
static inline NewType run(const Real& x)
{
return x.template convert_to<NewType>();
}
};
}
}
namespace boost {