Removed useless copy of options_ global structure.

time-shift
Stéphane Adjemian (Charybdis) 2013-06-28 11:18:39 +02:00
parent 5d56a4f2b0
commit 3f2a77b25d
1 changed files with 1 additions and 4 deletions

View File

@ -46,11 +46,8 @@ global options_ M_ bayestopt_ oo_ estim_params_ % estim_params_ may be emty
persistent dataset_
if isempty(dataset_) || isempty(bayestopt_)
options = options_;
options.smoother = 1; % this is necessary because of a check in dynare_estimation_init()
[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list, M_.fname, [], M_, options, oo_, estim_params_, bayestopt_);
[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list, M_.fname, [], M_, options_, oo_, estim_params_, bayestopt_);
end
if nargin==0