was missing in last commit

This commit is contained in:
Martin Diehl 2015-09-24 10:01:15 +00:00
parent fdee3e4fce
commit 948aa0c544
1 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,7 @@ import numpy as np
from optparse import OptionParser, Option
# -----------------------------
def croak(self,
what,
def croak(what,
newline = True):
# -----------------------------
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:
return popt, pcov, infodict, errmsg, ier
else:
return popt, pcov
return popt, pcov