sc/source/core/opencl/op_math.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 041eff7e88dc3f0d653962342c386346eb07b626 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Fri Nov 16 16:48:36 2018 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Mon Dec 3 15:37:29 2018 +0100 check in opencl for MROUND to take exactly 2 arguments Otherwise the mround unittest fails in opencl mode. Change-Id: I6c8866495bbb44ff7dfc075ba4aac58d80dac7c7 Reviewed-on: https://gerrit.libreoffice.org/64240 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/core/opencl/op_math.cxx b/sc/source/core/opencl/op_math.cxx index 45306aee893e..74c8dd4ceb87 100644 --- a/sc/source/core/opencl/op_math.cxx +++ b/sc/source/core/opencl/op_math.cxx @@ -124,6 +124,7 @@ void OpSecH::GenSlidingWindowFunction(std::stringstream &ss, void OpMROUND::GenSlidingWindowFunction(std::stringstream &ss, const std::string &sSymName, SubArguments &vSubArguments) { + CHECK_PARAMETER_COUNT(2, 2); ss << "\ndouble " << sSymName; ss << "_"<< BinFuncName() <<"("; for (size_t i = 0; i < vSubArguments.size(); i++) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits