Bug fix: when no analytic derivation and change in x very small.
parent
70ccb1d0b7
commit
afc2454913
|
@ -236,7 +236,7 @@ while norm(gg)>gtol && check==0 && jit<nit
|
||||||
end
|
end
|
||||||
H = igg;
|
H = igg;
|
||||||
end
|
end
|
||||||
else
|
elseif analytic_derivation,
|
||||||
[fvalx,gg,hh]=feval(func0,xparam1,DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults);
|
[fvalx,gg,hh]=feval(func0,xparam1,DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults);
|
||||||
hhg=hh;
|
hhg=hh;
|
||||||
H = inv(hh);
|
H = inv(hh);
|
||||||
|
|
Loading…
Reference in New Issue