Skip to content
Snippets Groups Projects
Commit afc24549 authored by Marco Ratto's avatar Marco Ratto
Browse files

Bug fix: when no analytic derivation and change in x very small.

parent 70ccb1d0
No related branches found
No related tags found
No related merge requests found
...@@ -236,7 +236,7 @@ while norm(gg)>gtol && check==0 && jit<nit ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment