Check initialization of static_and_dynamic_models_differ
During a classroom session today a Linux-user encountered a strange error with the recent snapshot. Whenever he used the steady;
command, he got
Reference to non-existent field
'static_and_dynamic_models_differ'.
Error in evaluate_steady_state (line 127)
if M.static_and_dynamic_models_differ
Error in steady_ (line 54)
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);
Error in mymodel (line 152)
steady;
Error in dynare (line 147)
evalin('base',fname) ;
I cannot replicate the issue under Windows, but as far as I can see, the field static_and_dynamic_models_differ
is only set in the preprocessor. Could it be that it is not always properly initialized?