aboutsummaryrefslogtreecommitdiffstats
path: root/dives
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-01 10:55:42 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2020-05-01 12:36:28 +0200
commitd787e8812c4cb62e323eb98bc0d9cbd1f714ffa7 (patch)
treeac38bdd608f742056d938ae07abed282681c5f4c /dives
parent8bc4233add0a70a647e53a557b9c87146b8294f8 (diff)
downloadsubsurface-d787e8812c4cb62e323eb98bc0d9cbd1f714ffa7.tar.gz
profile: for maxtime calculation include the sample after the last event
When plotting profiles with surface segments, there were strange artifacts. As we found out with Robert, these were due to the fact that the calculated maxtime was set to the last event which is just one second inside the surface segment. This terribly confused the profile code. For example, it didn't properly allocate samples for the surface segment. Thus, when calculating maxtime, consider the last sample beyond the last event. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions