summaryrefslogtreecommitdiff
path: root/boost/math/bindings/mpfr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/math/bindings/mpfr.hpp')
-rw-r--r--boost/math/bindings/mpfr.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/math/bindings/mpfr.hpp b/boost/math/bindings/mpfr.hpp
index 95be0ee2ba..e5c6ba071d 100644
--- a/boost/math/bindings/mpfr.hpp
+++ b/boost/math/bindings/mpfr.hpp
@@ -860,7 +860,11 @@ inline mpfr_class bessel_i1(mpfr_class x)
} // namespace detail
-}}
+}
+
+template<> struct is_convertible<long double, mpfr_class> : public mpl::false_{};
+
+}
#endif // BOOST_MATH_MPLFR_BINDINGS_HPP