[Libreoffice-commits] core.git: sc/source

Luboš Luňák l.lunak at collabora.com
Tue Jul 10 10:03:04 UTC 2018


 sc/source/core/opencl/formulagroupcl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 406ebf8e36ab1d1e10fb1d55101d7fc66add0c4b
Author: Luboš Luňák <l.lunak at collabora.com>
Date:   Thu Jul 5 12:09:34 2018 +0200

    disable OpenCL for XIRR
    
    The function actually fails with sc/qa/.../xirr.fods if OpenCL is forced
    (and mnOpenCLMinimumFormulaGroupSize is disabled). As far as I can tell
    the OpenCL function gets the proper data and returns incorect data,
    so it's the function itself that is buggy. No idea how to debug it,
    feel free to.
    
    Change-Id: I8879c6fdcfe8ecd2bc40fd3e0d1c13cddb1c2051
    Reviewed-on: https://gerrit.libreoffice.org/57002
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 314a6a8eb696..5931a3bf9f60 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -3136,11 +3136,11 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(const ScCalcConfig& config,
                     mvSubArguments.push_back(SoPHelper(mCalcConfig, ts, ft->Children[i],
                             new OpMDuration, nResultSize));
                 }
-                else if (pChild->GetExternal() == "com.sun.star.sheet.addin.Analysis.getXirr")
+                /*else if (pChild->GetExternal() == "com.sun.star.sheet.addin.Analysis.getXirr")
                 {
                     mvSubArguments.push_back(SoPHelper(mCalcConfig, ts, ft->Children[i],
                             new OpXirr, nResultSize));
-                }
+                }*/
                 else if (pChild->GetExternal() == "com.sun.star.sheet.addin.Analysis.getOddlprice")
                 {
                     mvSubArguments.push_back(SoPHelper(mCalcConfig, ts,


More information about the Libreoffice-commits mailing list