Commit bbdde462 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

posterior_sampler: Fix naming error that crashes parallel estimation

(cherry picked from commit ec3fb76a)

Fixed conflict. In branch 4.5 the modified line was not under the condition testing if the model has auxiliary variables, and the
name of the structure was correct. So it was not the same bug. I suppose that Dynare was eventually crashing with models without
auxiliary variables (when sending the *_set_auxiliary_variables routine to the remotes), but I did not test.
parent bcb829fd
......@@ -127,7 +127,9 @@ else
% which files have to be copied to run remotely
NamFileInput(1,:) = {'',[ModelName '_static.m']};
NamFileInput(2,:) = {'',[ModelName '_dynamic.m']};
NamFileInput(3,:) = {'',[M_.fname '_set_auxiliary_variables.m']};
if M_.set_auxiliary_variables
NamFileInput(3,:) = {'',[M_.fname '_set_auxiliary_variables.m']};
if options_.steadystate_flag
if options_.steadystate_flag == 1
NamFileInput(length(NamFileInput)+1,:)={'',[M_.fname '_steadystate.m']};
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