Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/math/special_functions/legendre.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/math/special_functions/legendre.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/math/special_functions/legendre.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -71,7 +71,7 @@ } // namespace detail template <class T, class Policy> -inline typename tools::promote_args<T>::type +inline typename boost::enable_if_c<policies::is_policy<Policy>::value, typename tools::promote_args<T>::type>::type legendre_p(int l, T x, const Policy& pol) { typedef typename tools::promote_args<T>::type result_type; @@ -90,7 +90,7 @@ } template <class T, class Policy> -inline typename tools::promote_args<T>::type +inline typename boost::enable_if_c<policies::is_policy<Policy>::value, typename tools::promote_args<T>::type>::type legendre_q(unsigned l, T x, const Policy& pol) { typedef typename tools::promote_args<T>::type result_type;