Added empty initialization for the case if estim_params_ is empty.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2297 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
71e5b5a806
commit
4d9b1869c2
|
@ -30,6 +30,7 @@ function dynare_estimation(var_list_,dname)
|
|||
|
||||
global M_ options_ oo_ estim_params_ bayestopt_
|
||||
|
||||
|
||||
%% Build var_list_
|
||||
var_list_ = check_list_of_variables(options_, M_, var_list_);
|
||||
options_.varlist = var_list_;
|
||||
|
@ -125,6 +126,8 @@ else% If estim_params_ is empty...
|
|||
bayestopt_.p1 = [];
|
||||
bayestopt_.p2 = [];
|
||||
bayestopt_.p3 = [];
|
||||
bayestopt_.p4 = [];
|
||||
estim_params_.nvx = 0;
|
||||
estim_params_.nvn = 0;
|
||||
estim_params_.ncx = 0;
|
||||
estim_params_.ncn = 0;
|
||||
|
|
Loading…
Reference in New Issue