[Libreoffice-commits] core.git: sc/source
Winfried Donkers
winfrieddonkers at libreoffice.org
Thu Nov 21 09:28:09 PST 2013
sc/source/core/tool/interpr3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d8a023d41ec85538bc0103c063ee722e1de67c2f
Author: Winfried Donkers <winfrieddonkers at libreoffice.org>
Date: Thu Nov 21 13:31:46 2013 +0100
fdo#71350 fix incorrect calculation of Excel function CONFIDENCE.T
Change-Id: I94202bebcc7deded51636f4bf7f203254a31931f
Reviewed-on: https://gerrit.libreoffice.org/6751
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 2f534f6..515530b 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -2309,7 +2309,7 @@ void ScInterpreter::ScConfidenceT()
if (sigma <= 0.0 || alpha <= 0.0 || alpha >= 1.0 || n < 1.0)
PushIllegalArgument();
else
- PushDouble( sigma * GetTInv( 1 - alpha / 2, n - 1 ) / sqrt( n ) );
+ PushDouble( sigma * GetTInv( alpha, n - 1 ) / sqrt( n ) );
}
}
More information about the Libreoffice-commits
mailing list