diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-08 13:54:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-08 13:54:29 -0800 |
commit | 1bec821c731780a9a0b8292691f5e375128a6640 (patch) | |
tree | e9fbcf7d35ff0cb33b7070e2dbb07510f8c14872 /dives/test6.xml | |
parent | bad7882ae141efbee3a339046c4a8f5b51ef89c6 (diff) | |
download | subsurface-1bec821c731780a9a0b8292691f5e375128a6640.tar.gz |
Fix the deco calculation in the dive planner
The existing code incorrectly started all calculation at the depth at the
end of the first segment. So if you went to 50m in 5min in your first
segment, you incorrectly got 5 minutes at 50m (instead of a progression
from 0 to 50m, over 5 minutes).
This commit fixes that and now gives us planned dives that then match what
is shown in the profile.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test6.xml')
0 files changed, 0 insertions, 0 deletions