subsurface/dives
Dirk Hohndel 4b735521e2 Fix missing pressure plot at start of the dive in some situations
In some situations we could end up with no sample pressure and no
interpolated pressure at time = 0. This is now fixed.

Fix notes in test dive the exposed the issue.

Also change the code in create_plot_info to keep the number of samples and
the number of corresponding pi entries in separate variables. This avoids
future changes from breaking if they assume they can access
dive->sample[nr_samples - 1] (which is a reasonable assumption to make).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-11-04 15:38:46 -07:00
..
test0.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test1.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test2.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test3.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test4.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test5.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test6.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test7.xml Update test dives 2011-11-04 14:54:22 -07:00
test8.xml Fix missing pressure plot at start of the dive in some situations 2011-11-04 15:38:46 -07:00
test9.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test10.xml Update test dives 2011-11-04 14:54:22 -07:00
test11.xml Update test dives 2011-11-04 14:54:22 -07:00
test12.xml Update test dives 2011-11-04 14:54:22 -07:00
test13.xml Update test dives 2011-11-04 14:54:22 -07:00