Fix boostmultiprec for C++03

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

View File

@ -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 {