From bef3377a81168c156ef20d403f60481a79d3a2ee Mon Sep 17 00:00:00 2001 From: Marco Ratto Date: Fri, 27 Apr 2012 14:57:53 +0200 Subject: [PATCH] Rename line search function as csminwel1 --- matlab/mr_gstep.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/mr_gstep.m b/matlab/mr_gstep.m index db25d43a4..381b21fa0 100644 --- a/matlab/mr_gstep.m +++ b/matlab/mr_gstep.m @@ -57,7 +57,7 @@ while i htol - [f0 x fc retcode] = csminit(func0,x,f0,gg,0,diag(hh),DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults); + [f0 x fc retcode] = csminit1(func0,x,f0,gg,0,diag(hh),DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults); ig(i)=1; fprintf(['Done for param %s = %8.4f\n'],BayesInfo.name{i},x(i)) end