diff --git a/test/boostmultiprec.cpp b/test/boostmultiprec.cpp index a83ae4b78..3e16aeabd 100644 --- a/test/boostmultiprec.cpp +++ b/test/boostmultiprec.cpp @@ -71,6 +71,17 @@ namespace Eigen { template<> Real test_precision() { return 1e-50; } + + namespace internal { + template + struct cast_impl + { + static inline NewType run(const Real& x) + { + return x.template convert_to(); + } + }; + } } namespace boost {