Commit f4e39258 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Rename bfgsi.m to bfgsi1.m to avoid clash with the one provided by Tao Zha

Closes: #215
parent edbf3bd1
......@@ -39,7 +39,7 @@ License: public-domain
Journal of Economic Dynamics and Control, 2010, vol. 34, issue 3,
pages 472-489
Files: matlab/bfgsi.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
Files: matlab/bfgsi1.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
matlab/numgrad3.m matlab/numgrad5.m matlab/csminwel.m matlab/bvar_density.m
matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m
matlab/qzdiv.m
......
function H = bfgsi(H0,dg,dx)
% H = bfgsi(H0,dg,dx)
function H = bfgsi1(H0,dg,dx)
% H = bfgsi1(H0,dg,dx)
% dg is previous change in gradient; dx is previous change in x;
% 6/8/93 version that updates inverse hessian instead of hessian
% itself.
......
......@@ -273,7 +273,7 @@ while ~done
%badgh
stuck = (abs(fh-f) < crit);
if (~badg) && (~badgh) && (~stuck)
H = bfgsi(H,gh-g,xh-x);
H = bfgsi1(H,gh-g,xh-x);
end
if Verbose
disp('----')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment