mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: bug in num_grad version of prior fit fixed.
This commit is contained in:
parent
e4d18fc8c8
commit
ca4f83f5d1
1 changed files with 0 additions and 2 deletions
|
@ -426,8 +426,6 @@ def _prior_fit(x, y, func, priors, silent=False, **kwargs):
|
|||
raise Exception('The minimization procedure did not converge.')
|
||||
|
||||
hess = hessian(chisqfunc)(params)
|
||||
if kwargs.get('num_grad') is True:
|
||||
hess = hess[0]
|
||||
hess_inv = np.linalg.pinv(hess)
|
||||
|
||||
def chisqfunc_compact(d):
|
||||
|
|
Loading…
Add table
Reference in a new issue