fix
This commit is contained in:
@@ -81,6 +81,9 @@ def getagegrouprecord(age, sex='male', weightcategory='hwt',
|
|||||||
def errfunc(pars, x, y):
|
def errfunc(pars, x, y):
|
||||||
return fitfunc(pars, x)-y
|
return fitfunc(pars, x)-y
|
||||||
|
|
||||||
|
p0 = [700, 120, 700, 10, 100, 100]
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
p1, success = optimize.leastsq(errfunc, p0[:],
|
p1, success = optimize.leastsq(errfunc, p0[:],
|
||||||
args=(ages, powers))
|
args=(ages, powers))
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user