diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-10 11:04:58 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-10 11:04:58 -0700 |
commit | 38d49bf0411acb67f3623a813d912c07025f474a (patch) | |
tree | 3e8ffd37fb1fb45afdd7fc5f79ad3f965ba1befa /print.c | |
parent | 3febfb74fa092b12b7f0a3e8d05b11b6ab6da397 (diff) | |
download | subsurface-38d49bf0411acb67f3623a813d912c07025f474a.tar.gz |
Improve trip assignment for new dives
When first trying to deal with this I opted to go with a two pass appoach
which seemed easy as it used existing infrastructure, but turned out to
run into a couple of odd corner cases that would have been really ugly to
deal with.
So I threw this code away and am instead doing this in a single pass,
carefully checking as we go if there is an appropriate trip we can use.
To me the new code is much easier to read and seems much cleaner.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'print.c')
0 files changed, 0 insertions, 0 deletions