Commit 031632ed authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

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

parent 107be125
Pipeline #1770 passed with stages
in 77 minutes and 7 seconds
......@@ -24,6 +24,10 @@ if isequal(options_.order,0)
error('stoch_simul:: The order of the Taylor approximation cannot be 0!')
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.')
dr = oo_.dr;
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