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

Fixed bug trac#202. Define the sigma_e_is_diagonal flag when no shocks block...

Fixed bug trac#202. Define the sigma_e_is_diagonal flag when no shocks block is declared in the mod file.
parent a341a4f8
......@@ -58,6 +58,12 @@ end
[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_, bayestopt_);
% Set sigma_e_is_diagonal flag (needed if the shocks block is not declared in the mod file)
M_.sigma_e_is_diagonal = 1;
if estim_params_.ncx
M_.sigma_e_is_diagonal = 0;
end
data = dataset_.data;
rawdata = dataset_.rawdata;
data_index = dataset_.missing.aindex;
......
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