diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-08-25 23:21:27 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-29 06:49:44 -0700 |
commit | 456e2cec89bf53904851cce2bad7f344c64c6f98 (patch) | |
tree | 12c8dacfd0da586d6e5cd8ef5875a8c82ff023b7 /core/planner.c | |
parent | 515b7b5fea13762f8003963eca4c2a241c52dfb7 (diff) | |
download | subsurface-456e2cec89bf53904851cce2bad7f344c64c6f98.tar.gz |
Cache all Buehlmann factors
not just the last one.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/planner.c')
-rw-r--r-- | core/planner.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/planner.c b/core/planner.c index 9bf0436a0..61022d914 100644 --- a/core/planner.c +++ b/core/planner.c @@ -627,7 +627,6 @@ int wait_until(struct dive *dive, int clock, int min, int leap, int stepsize, in { // Round min + leap up to the next multiple of stepsize int upper = min + leap + stepsize - 1 - (min + leap - 1) % stepsize; - printf("clock: %d min: %d leap: %d, depth %d\n", clock / 60, min / 60, leap, depth); // Is the upper boundary too small? if (!trial_ascent(upper - clock, depth, target_depth, avg_depth, bottom_time, gasmix, po2, surface_pressure, dive)) return wait_until(dive, clock, upper, leap, stepsize, depth, target_depth, avg_depth, bottom_time, gasmix, po2, surface_pressure); |