diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-01-08 21:00:30 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-08 21:05:16 +0800 |
commit | fef4d15965f4efefe9ed554df5a78d279289630a (patch) | |
tree | 789405b2ea78c71b80e2d27518071aed3a3c6359 /device.c | |
parent | eec5dba1c23a6aef8c73ff744973cf8ad821eef2 (diff) | |
download | subsurface-fef4d15965f4efefe9ed554df5a78d279289630a.tar.gz |
When interpolating tank pressures, don't devide by zero
When an interpolated segment is on the surface we get no pressure time -
and try to divide by zero.
(plus a small whitespace issue that slipped throught the cracks earlier)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'device.c')
0 files changed, 0 insertions, 0 deletions