summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorWinfried <winfrieddonkers@libreoffice.org>2013-08-06 13:08:13 +0200
committerKohei Yoshida <kohei.yoshida@suse.de>2013-08-08 00:56:04 +0000
commit07112a712245bdcca40bb87e2bd118eec9635848 (patch)
treeece1597758807d9913d6516c1583335f331eef89 /sw
parentd65c44020bf32713af4985f598f7b532a969247a (diff)
fdo#37341 dix unending loop in calc with Goal Seek
The combination of a solve process happening in two functions (ScDocument::Solver() and ScInterpreter::BackSolver) with iterations and recursive as well as iterative interpreting (ScInterpreter:Interpret() and ScInterpreter::InterpretTail()) led to improper handling of the stack, with an unending loop as a result. Integrating the two solver functions, and so simplifying the code, results in correct behaviour in all documents attached to the bug report. I tested with values for MAXRECURSION of 5 and 400 (standard value) to have really different combinations of recursion and iteration. Change-Id: If4cb8926c5e192cd6c764dcdd45a92e285e983bb Reviewed-on: https://gerrit.libreoffice.org/5292 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions