|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-08-28 11:57:07
Author: johnmaddock
Date: 2008-08-28 11:57:06 EDT (Thu, 28 Aug 2008)
New Revision: 48420
URL: http://svn.boost.org/trac/boost/changeset/48420
Log:
Fix Intel-10.1 test failures, by adjusting the function signatures for the inverse hyper-geometric functions.
Text files modified:
trunk/boost/math/special_functions/acosh.hpp | 4 ++--
trunk/boost/math/special_functions/asinh.hpp | 4 ++--
trunk/boost/math/special_functions/atanh.hpp | 4 ++--
trunk/boost/math/special_functions/math_fwd.hpp | 12 ++++++------
4 files changed, 12 insertions(+), 12 deletions(-)
Modified: trunk/boost/math/special_functions/acosh.hpp
==============================================================================
--- trunk/boost/math/special_functions/acosh.hpp (original)
+++ trunk/boost/math/special_functions/acosh.hpp 2008-08-28 11:57:06 EDT (Thu, 28 Aug 2008)
@@ -86,7 +86,7 @@
}
template<typename T, typename Policy>
- inline typename tools::promote_args<T>::type acosh(const T x, const Policy&)
+ inline typename tools::promote_args<T>::type acosh(T x, const Policy&)
{
typedef typename tools::promote_args<T>::type result_type;
typedef typename policies::evaluation<result_type, Policy>::type value_type;
@@ -101,7 +101,7 @@
"boost::math::acosh<%1%>(%1%)");
}
template<typename T>
- inline typename tools::promote_args<T>::type acosh(const T x)
+ inline typename tools::promote_args<T>::type acosh(T x)
{
return boost::math::acosh(x, policies::policy<>());
}
Modified: trunk/boost/math/special_functions/asinh.hpp
==============================================================================
--- trunk/boost/math/special_functions/asinh.hpp (original)
+++ trunk/boost/math/special_functions/asinh.hpp 2008-08-28 11:57:06 EDT (Thu, 28 Aug 2008)
@@ -89,12 +89,12 @@
}
template<typename T>
- inline typename tools::promote_args<T>::type asinh(const T x)
+ inline typename tools::promote_args<T>::type asinh(T x)
{
return boost::math::asinh(x, policies::policy<>());
}
template<typename T, typename Policy>
- inline typename tools::promote_args<T>::type asinh(const T x, const Policy&)
+ inline typename tools::promote_args<T>::type asinh(T x, const Policy&)
{
typedef typename tools::promote_args<T>::type result_type;
typedef typename policies::evaluation<result_type, Policy>::type value_type;
Modified: trunk/boost/math/special_functions/atanh.hpp
==============================================================================
--- trunk/boost/math/special_functions/atanh.hpp (original)
+++ trunk/boost/math/special_functions/atanh.hpp 2008-08-28 11:57:06 EDT (Thu, 28 Aug 2008)
@@ -99,7 +99,7 @@
}
template<typename T, typename Policy>
- inline typename tools::promote_args<T>::type atanh(const T x, const Policy&)
+ inline typename tools::promote_args<T>::type atanh(T x, const Policy&)
{
typedef typename tools::promote_args<T>::type result_type;
typedef typename policies::evaluation<result_type, Policy>::type value_type;
@@ -114,7 +114,7 @@
"boost::math::atanh<%1%>(%1%)");
}
template<typename T>
- inline typename tools::promote_args<T>::type atanh(const T x)
+ inline typename tools::promote_args<T>::type atanh(T x)
{
return boost::math::atanh(x, policies::policy<>());
}
Modified: trunk/boost/math/special_functions/math_fwd.hpp
==============================================================================
--- trunk/boost/math/special_functions/math_fwd.hpp (original)
+++ trunk/boost/math/special_functions/math_fwd.hpp 2008-08-28 11:57:06 EDT (Thu, 28 Aug 2008)
@@ -531,22 +531,22 @@
// inverse hyperbolics:
template<typename T>
- typename tools::promote_args<T>::type asinh(const T x);
+ typename tools::promote_args<T>::type asinh(T x);
template<typename T, class Policy>
- typename tools::promote_args<T>::type asinh(const T x, const Policy&);
+ typename tools::promote_args<T>::type asinh(T x, const Policy&);
template<typename T>
- typename tools::promote_args<T>::type acosh(const T x);
+ typename tools::promote_args<T>::type acosh(T x);
template<typename T, class Policy>
- typename tools::promote_args<T>::type acosh(const T x, const Policy&);
+ typename tools::promote_args<T>::type acosh(T x, const Policy&);
template<typename T>
- typename tools::promote_args<T>::type atanh(const T x);
+ typename tools::promote_args<T>::type atanh(T x);
template<typename T, class Policy>
- typename tools::promote_args<T>::type atanh(const T x, const Policy&);
+ typename tools::promote_args<T>::type atanh(T x, const Policy&);
namespace detail{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk