From 5b080beddef3e08b86eb53448e737b4867a50c1a Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 19 Sep 2017 14:38:38 +0200 Subject: Remove option to apply GFlow at maxdepth This option should have never been there. This is not how gradient factors are supposed to work. It would only trick users to use the wrong value.. Signed-off-by: Robert C. Helling --- core/planner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/planner.c') diff --git a/core/planner.c b/core/planner.c index da6ed7d73..3ea829ba4 100644 --- a/core/planner.c +++ b/core/planner.c @@ -685,7 +685,7 @@ bool plan(struct diveplan *diveplan, struct dive *dive, int timestep, struct dec bool o2breaking = false; int decostopcounter = 0; - set_gf(diveplan->gflow, diveplan->gfhigh, prefs.gf_low_at_maxdepth); + set_gf(diveplan->gflow, diveplan->gfhigh); set_vpmb_conservatism(diveplan->vpmb_conservatism); if (!diveplan->surface_pressure) diveplan->surface_pressure = SURFACE_PRESSURE; -- cgit v1.2.3-70-g09d2