Skip to content
Snippets Groups Projects
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 !1660
parents 418070ec 8752cf00
No related branches found
No related tags found
1 merge request!1660dynare_sensitivity.m: provide informative error message if no var_exo are...
Pipeline #1777 passed
...@@ -132,6 +132,11 @@ else ...@@ -132,6 +132,11 @@ else
options_.qz_criterium = 1+1e-6; options_.qz_criterium = 1+1e-6;
end end
end end
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.')
end
[make,my,day,punk,M_,options_,oo_] = dynare_resolve(M_,options_,oo_); [make,my,day,punk,M_,options_,oo_] = dynare_resolve(M_,options_,oo_);
options_gsa = set_default_option(options_gsa,'identification',0); options_gsa = set_default_option(options_gsa,'identification',0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment