From fe5e9610df64709cf505c0b5dc74aef2f55c1b77 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 6 Oct 2016 16:39:37 +0300 Subject: Add FIXME I just can't even. Change-Id: Iab3572847bcbe63cb3c19bb027c8a6388c90fd59 --- sc/source/core/opencl/op_financial.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sc/source') diff --git a/sc/source/core/opencl/op_financial.cxx b/sc/source/core/opencl/op_financial.cxx index e4ee49d8d123..771635510c54 100644 --- a/sc/source/core/opencl/op_financial.cxx +++ b/sc/source/core/opencl/op_financial.cxx @@ -1066,6 +1066,9 @@ void IRR::GenSlidingWindowFunction(std::stringstream &ss, ss << " if (fEps < Epsilon)\n"; ss << " return x;\n"; ss << " else\n"; + // FIXME: This is of course horribly wrong. 523 is the error code NoConvergence, and this should + // be CreateDoubleError(523). Ditto for the other occurrences of 523 in the OpenCL code + // generated in this file. ss << " return (double)523;\n"; ss << "}"; } -- cgit v1.2.3