|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70692 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2011-03-29 07:17:59
Author: johnmaddock
Date: 2011-03-29 07:17:58 EDT (Tue, 29 Mar 2011)
New Revision: 70692
URL: http://svn.boost.org/trac/boost/changeset/70692
Log:
Fix value returned for atanh(1).
Fixes #5385.
Text files modified:
trunk/boost/math/special_functions/atanh.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/math/special_functions/atanh.hpp
==============================================================================
--- trunk/boost/math/special_functions/atanh.hpp (original)
+++ trunk/boost/math/special_functions/atanh.hpp 2011-03-29 07:17:58 EDT (Tue, 29 Mar 2011)
@@ -64,7 +64,7 @@
else if(x > 1 - tools::epsilon<T>())
{
// Infinity:
- return -policies::raise_overflow_error<T>(function, 0, pol);
+ return policies::raise_overflow_error<T>(function, 0, pol);
}
else if(x > 1)
{
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