diff options
author | Winfried <winfrieddonkers@libreoffice.org> | 2013-08-06 13:08:13 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-08-08 00:56:04 +0000 |
commit | 07112a712245bdcca40bb87e2bd118eec9635848 (patch) | |
tree | ece1597758807d9913d6516c1583335f331eef89 /sw | |
parent | d65c44020bf32713af4985f598f7b532a969247a (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