was missing in last commit
This commit is contained in:
parent
fdee3e4fce
commit
948aa0c544
|
@ -6,8 +6,7 @@ import numpy as np
|
||||||
from optparse import OptionParser, Option
|
from optparse import OptionParser, Option
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
def croak(self,
|
def croak(what,
|
||||||
what,
|
|
||||||
newline = True):
|
newline = True):
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
sys.stderr.write(('\n'.join(map(str,what)) if not hasattr(what, "strip")
|
sys.stderr.write(('\n'.join(map(str,what)) if not hasattr(what, "strip")
|
||||||
|
@ -397,4 +396,4 @@ def curve_fit_bound(f, xdata, ydata, p0=None, sigma=None, bounds=None, **kw):
|
||||||
if return_full:
|
if return_full:
|
||||||
return popt, pcov, infodict, errmsg, ier
|
return popt, pcov, infodict, errmsg, ier
|
||||||
else:
|
else:
|
||||||
return popt, pcov
|
return popt, pcov
|
||||||
|
|
Loading…
Reference in New Issue