diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-07-14 22:36:08 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-07-14 22:36:08 +0200 |
commit | 22b0b27cbc0bb4ce57146211a18aacadfe356e43 (patch) | |
tree | 30fa336d9f04cc3bc781430b0fc80fb20ff4b6fe /chart2/source | |
parent | 5c05b1cabcf7f6a7f490ae6fc4bc145e75229752 (diff) |
pow is ambiguous
Change-Id: Ib63bf0a67f18cf8e2f3705ae8b096c5bdf06edaf
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/tools/PolynomialRegressionCurveCalculator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx index 1c84731141e4..951c071a2ca0 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); } } |