From 53900d533f0907103e7a745c86575cdcfc43f5f2 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 21 Sep 2023 16:34:59 +0200 Subject: [PATCH] removing debug line --- rowers/c2stuff.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rowers/c2stuff.py b/rowers/c2stuff.py index 4fa77a44..98738451 100644 --- a/rowers/c2stuff.py +++ b/rowers/c2stuff.py @@ -81,10 +81,6 @@ def getagegrouprecord(age, sex='male', weightcategory='hwt', def errfunc(pars, x, y): return fitfunc(pars, x)-y - p0 = [700, 120, 700, 10, 100, 100] - - p1, success = optimize.leastsq(errfunc, p0[:], - args=(ages, powers)) try: p1, success = optimize.leastsq(errfunc, p0[:], args=(ages, powers))