Skip to content
Snippets Groups Projects
Commit a0321786 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'stoch_simul_no_varexo' into 'master'

stoch_simul.m: provide informative error message if no varexo have been defined

Closes #1633

See merge request !1661
parents 107be125 031632ed
No related branches found
No related tags found
1 merge request!1661stoch_simul.m: provide informative error message if no varexo have been defined
Pipeline #1773 passed
...@@ -24,6 +24,10 @@ if isequal(options_.order,0) ...@@ -24,6 +24,10 @@ if isequal(options_.order,0)
error('stoch_simul:: The order of the Taylor approximation cannot be 0!') error('stoch_simul:: The order of the Taylor approximation cannot be 0!')
end end
if M_.exo_nbr==0
error('stoch_simul:: does not support having no varexo in the model. As a workaround you could define a dummy exogenous variable.')
end
test_for_deep_parameters_calibration(M_); test_for_deep_parameters_calibration(M_);
dr = oo_.dr; dr = oo_.dr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment