You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2013/08/19 11:22:52 UTC
svn commit: r1515328 - in /openoffice/branches/AOO401: ./
main/scaddins/source/analysis/analysishelper.hxx
Author: orw
Date: Mon Aug 19 09:22:51 2013
New Revision: 1515328
URL: http://svn.apache.org/r1515328
Log:
#i122997 Calculation error in IMABS() function
cherry-picked Regina's fix from trunk
Modified:
openoffice/branches/AOO401/ (props changed)
openoffice/branches/AOO401/main/scaddins/source/analysis/analysishelper.hxx
Propchange: openoffice/branches/AOO401/
------------------------------------------------------------------------------
Merged /openoffice/trunk:r1512966
Modified: openoffice/branches/AOO401/main/scaddins/source/analysis/analysishelper.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO401/main/scaddins/source/analysis/analysishelper.hxx?rev=1515328&r1=1515327&r2=1515328&view=diff
==============================================================================
--- openoffice/branches/AOO401/main/scaddins/source/analysis/analysishelper.hxx (original)
+++ openoffice/branches/AOO401/main/scaddins/source/analysis/analysishelper.hxx Mon Aug 19 09:22:51 2013
@@ -830,7 +830,7 @@ inline double Complex::Imag( void ) cons
inline double Complex::Abs( void ) const
{
- return std::norm( Num );
+ return std::abs( Num );
}