Commit 4d9b1869 authored by kamenik's avatar kamenik
Browse files

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-bf33cf982152
parent 71e5b5a8
......@@ -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;
......
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