Commit a5578e6b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'sensitivity_error' into 'master'

dynare_sensitivity.m: provide informative error message if no var_exo are...

Closes #1651

See merge request Dynare/dynare!1660
parents 418070ec 8752cf00
......@@ -132,6 +132,11 @@ else
options_.qz_criterium = 1+1e-6;
if M_.exo_nbr==0
error('dynare_sensitivity does not support having no varexo in the model. As a workaround you could define a dummy exogenous variable.')
[make,my,day,punk,M_,options_,oo_] = dynare_resolve(M_,options_,oo_);
options_gsa = set_default_option(options_gsa,'identification',0);
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