summaryrefslogtreecommitdiffstats
path: root/core/planner.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-05-17 21:25:57 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2018-05-28 09:57:00 +0200
commitfb09784060a10ef181e20d8e3adc3d7b1c55041e (patch)
tree1a02b5691a6f92bee57e858a7d9338d597d6c638 /core/planner.c
parenteb52f36cb69d80a5024a94a4996f5426bd16c27a (diff)
downloadsubsurface-fb09784060a10ef181e20d8e3adc3d7b1c55041e.tar.gz
Don't compute SAC if total gas use is unknown
If we breathe from a cylinder with invalid start or end pressures, we cannot reliably compute the total gas use and thus the SAC. So we should not pretend to do so. A better fix would compute the total SAC for only those segements that have valid start and end pressures. Reported-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/planner.c')
0 files changed, 0 insertions, 0 deletions