summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-12-12 12:05:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-12 07:07:49 -0800
commit767fd39ca05c2a9821329975d1cc1f4f12b18b30 (patch)
treea101d9cbf780cb55a6389fa024d023e8335afec5 /parse-xml.c
parentbf20c251ab2caf37bc3973bbb77201cb0ae7a588 (diff)
downloadsubsurface-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 'parse-xml.c')
0 files changed, 0 insertions, 0 deletions