diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-05 23:23:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-08 16:26:31 -0700 |
commit | ddff68ddaec734449d83c6b056739c5474fb0b49 (patch) | |
tree | 7cdab0e27a875e86d5ddb8bec2fa51ced10eb6ad /android-mobile | |
parent | 852239e6de541bfeb28b37ec1677a4d1637a7052 (diff) | |
download | subsurface-ddff68ddaec734449d83c6b056739c5474fb0b49.tar.gz |
Parser: remove global state
The parser had global state in the form of a linear regression
and the "plot_depth" variable. Collect that in the deco_state struct and
pass it down the call-chain. Move out the code to update the
regression data to not bother other callers of tissue_tolerance_calc().
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'android-mobile')
0 files changed, 0 insertions, 0 deletions