reset newratflag = 0 in dynare_minimize_objective

time-shift
Michel Juillard 2015-10-07 09:22:34 +02:00
parent 3dac7f8809
commit d4cf3576e4
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ switch minimizer_algorithm
Save_files = 0;
Verbose = 0;
end
[opt_par_values,hessian_mat,gg,fval,invhess] = newrat(objective_function,start_par_value,analytic_grad,crit,nit,newratflag,Verbose, Save_files,varargin{:});
[opt_par_values,hessian_mat,gg,fval,invhess] = newrat(objective_function,start_par_value,analytic_grad,crit,nit,0,Verbose, Save_files,varargin{:});
%hessian_mat is the plain outer product gradient Hessian
case 6
[opt_par_values, hessian_mat, Scale, fval] = gmhmaxlik(objective_function, start_par_value, ...