[PATCH 08/10] VPM-B: Round first ceiling pressure up to stop increments
Rick Walsh
rickmwalsh at gmail.com
Sat Aug 29 05:38:35 PDT 2015
This is consistent with other VPM-B implementations
Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---
planner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/planner.c b/planner.c
index eb9fe5d..8362f65 100644
--- a/planner.c
+++ b/planner.c
@@ -1131,7 +1131,7 @@ bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool
first_ceiling_pressure.mbar = depth_to_mbar(deco_allowed_depth(tissue_tolerance,
diveplan->surface_pressure / 1000.0,
&displayed_dive,
- 1),
+ 0),
&displayed_dive);
last_ascend_rate = ascent_velocity(depth, avg_depth, bottom_time);
--
2.4.3
More information about the subsurface
mailing list