From 337f82c87615bbff635cc1f9e3c2f2f7b8a17daa Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Tue, 19 Dec 2017 20:58:01 +0100 Subject: Code cleanup: Indentation mistake plus simplification Signed-off-by: Stefan Fuchs --- core/deco.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3-70-g09d2