diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-05-17 21:25:57 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2018-05-28 09:57:00 +0200 |
commit | fb09784060a10ef181e20d8e3adc3d7b1c55041e (patch) | |
tree | 1a02b5691a6f92bee57e858a7d9338d597d6c638 /core/planner.c | |
parent | eb52f36cb69d80a5024a94a4996f5426bd16c27a (diff) | |
download | subsurface-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