diff options
author | 2014-12-12 12:05:01 +0100 | |
---|---|---|
committer | 2014-12-12 07:07:49 -0800 | |
commit | 767fd39ca05c2a9821329975d1cc1f4f12b18b30 (patch) | |
tree | a101d9cbf780cb55a6389fa024d023e8335afec5 /save-html.c | |
parent | bf20c251ab2caf37bc3973bbb77201cb0ae7a588 (diff) | |
download | subsurface-767fd39ca05c2a9821329975d1cc1f4f12b18b30.tar.gz |
Prevent 0/0 in partial pressure calculation
If for some reason the diluent is pure oxygen, there is a zero
divided by zero error in the partial pressure calculation. This
patch prevents it.
Fixes #774
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-html.c')
0 files changed, 0 insertions, 0 deletions