[Libreoffice-commits] core.git: chart2/source
Tomaž Vajngerl
quikee at gmail.com
Sun Jul 14 13:38:48 PDT 2013
chart2/source/tools/PolynomialRegressionCurveCalculator.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 22b0b27cbc0bb4ce57146211a18aacadfe356e43
Author: Tomaž Vajngerl <quikee at gmail.com>
Date: Sun Jul 14 22:36:08 2013 +0200
pow is ambiguous
Change-Id: Ib63bf0a67f18cf8e2f3705ae8b096c5bdf06edaf
diff --git a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
index 1c84731..951c071 100644
--- a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
@@ -79,7 +79,7 @@ void SAL_CALL PolynomialRegressionCurveCalculator::recalculateRegression(
for(sal_Int32 i = 0; i < aNoValues; i++)
{
double xValue = aValues.first[i];
- aQRTransposed[i + aColumnIndex] = std::pow(xValue, aPower);
+ aQRTransposed[i + aColumnIndex] = std::pow(xValue, (int) aPower);
}
}
More information about the Libreoffice-commits
mailing list