Verified Commit e2b20f3e authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Bug fix. Dynare configuration hook was not evaluated.

parent 0cfe3160
......@@ -125,8 +125,15 @@ M_.osr.variable_weights=[];
M_.osr.variable_indices =[];
% Set default options_ in function below; this change was made for the GUI
options_ = default_option_values(M_);
% Set default options_ but keep global_init_file field if defined in the driver.
if isstruct(options_) && isfield(options_, 'global_init_file')
global_init_file = options_.global_init_file;
options_ = default_option_values(M_);
options_.global_init_file = global_init_file;
options_ = default_option_values(M_);
% initialize persistent variables in priordens()
Markdown is supported
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