diff options
Diffstat (limited to 'sc/source/core/opencl/formulagroupcl.cxx')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index a4e99e0d172d..e75ef48feb24 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -696,9 +696,9 @@ public: virtual std::string GetBottom(void) { return "MAXFLOAT"; } virtual std::string Gen2(const std::string &lhs, const std::string &rhs) const { - return "fmin("+lhs + "," + rhs +")"; + return "min("+lhs + "," + rhs +")"; } - virtual std::string BinFuncName(void) const { return "fmin"; } + virtual std::string BinFuncName(void) const { return "min"; } }; class OpMax: public Reduction { @@ -706,9 +706,9 @@ public: virtual std::string GetBottom(void) { return "-MAXFLOAT"; } virtual std::string Gen2(const std::string &lhs, const std::string &rhs) const { - return "fmax("+lhs + "," + rhs +")"; + return "max("+lhs + "," + rhs +")"; } - virtual std::string BinFuncName(void) const { return "fmax"; } + virtual std::string BinFuncName(void) const { return "max"; } }; class OpSumProduct: public SumOfProduct { public: @@ -1232,6 +1232,10 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments( mvSubArguments.push_back(SoPHelper(ts, ft->Children[i],new OpChiSqDist)); break; + case ocChiSqInv: + mvSubArguments.push_back(SoPHelper(ts, + ft->Children[i],new OpChiSqInv)); + break; case ocExternal: if ( !(pChild->GetExternal().compareTo(OUString( "com.sun.star.sheet.addin.Analysis.getEffect")))) |