summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 20:10:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 20:14:13 -0800
commitb8c7992bbfe03dce665cbd5ba6144b0c8b59b6fd (patch)
tree525fe8b4d2d2275ffb0c6144549dcad6c530f6b0 /dive.h
parent51f97a97cebbedaed102e9a3e7e694401c880526 (diff)
downloadsubsurface-b8c7992bbfe03dce665cbd5ba6144b0c8b59b6fd.tar.gz
Improve calculation of maxtemp and mintemp of dive
The existing code only populated the maxtemp based on the samples of a dive and then in statistics.c checked if there was no such temperature and replaced it with the water temperature of the first divecomputer. It makes much more sense to add the water temperature information in every divecomputer to the min / max calculation during the dive fixup phase. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions