diff options
-rw-r--r-- | sc/source/core/opencl/op_math.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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++) |