diff options
Diffstat (limited to 'core/deco.c')
-rw-r--r-- | core/deco.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/deco.c b/core/deco.c index b276e3e82..4eb3fcd8a 100644 --- a/core/deco.c +++ b/core/deco.c @@ -543,8 +543,7 @@ void clear_deco(struct deco_state *ds, double surface_pressure) ds->n2_regen_radius[ci] = get_crit_radius_N2(); ds->he_regen_radius[ci] = get_crit_radius_He(); } - ds->gf_low_pressure_this_dive = surface_pressure; - ds->gf_low_pressure_this_dive += buehlmann_config.gf_low_position_min; + ds->gf_low_pressure_this_dive = surface_pressure + buehlmann_config.gf_low_position_min; ds->max_ambient_pressure = 0.0; } |