mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: deprecated get_fmin call removed in fits
This commit is contained in:
parent
a7363fb88e
commit
968cdf3181
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ def _prior_fit(x, y, func, priors, silent=False, **kwargs):
|
|||
if not silent:
|
||||
print('chisquare/d.o.f.:', output.chisquare_by_dof)
|
||||
|
||||
if not m.get_fmin().is_valid:
|
||||
if not m.fmin.is_valid:
|
||||
raise Exception('The minimization procedure did not converge.')
|
||||
|
||||
hess_inv = np.linalg.pinv(jacobian(jacobian(chisqfunc))(params))
|
||||
|
|
Loading…
Add table
Reference in a new issue