Make sure fields of estim_params are always properly initialized

time-shift
Johannes Pfeifer 2016-08-21 11:24:29 +02:00
parent cc5cafdd15
commit 9d9cb322c8
1 changed files with 5 additions and 0 deletions

View File

@ -352,6 +352,11 @@ if isempty(estim_params_) || all(strcmp(fieldnames(estim_params_),'full_calibrat
bayestopt_.p5 = [];
bayestopt_.p6 = [];
bayestopt_.p7 = [];
estim_params_.var_exo=[];
estim_params_.var_endo=[];
estim_params_.corrx=[];
estim_params_.corrn=[];
estim_params_.param_vals=[];
estim_params_.nvx = 0;
estim_params_.nvn = 0;
estim_params_.ncx = 0;