mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: another bug in num_grad version of prior fit fixed.
This commit is contained in:
parent
ca4f83f5d1
commit
89125c91e2
1 changed files with 0 additions and 2 deletions
|
@ -434,8 +434,6 @@ def _prior_fit(x, y, func, priors, silent=False, **kwargs):
|
|||
return chisq
|
||||
|
||||
jac_jac = hessian(chisqfunc_compact)(np.concatenate((params, y_f, p_f)))
|
||||
if kwargs.get('num_grad') is True:
|
||||
jac_jac = jac_jac[0]
|
||||
|
||||
deriv = -hess_inv @ jac_jac[:n_parms, n_parms:]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue