aboutsummaryrefslogtreecommitdiffstats
path: root/subsurfacesysinfo.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-11-24 14:20:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-24 06:49:04 -0800
commit79d5a411824510c13012b28d636d4af4790a4efa (patch)
tree2f94de4dce2a9b3ddc9ca39ea41641e30779db70 /subsurfacesysinfo.h
parentbf14d3180427a8197e7dfbcb29fed1002efbbb80 (diff)
downloadsubsurface-79d5a411824510c13012b28d636d4af4790a4efa.tar.gz
In our floating point comparison 0.0 should be equal to 0.0
We when comparing floating points we do a relative comparison of the difference. This fails when both numbers are (exactly) 0.0 which happens to occur when plotting an O2 graph without o2 data resulting in both min and max for the y-axis to be 0. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacesysinfo.h')
0 files changed, 0 insertions, 0 deletions