Skip to content
Snippets Groups Projects
Commit 8752cf00 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

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

dynare_sensitivity.m: provide informative error message if no varexo are defined. Closes Dynare/dynare#1651
parent 107be125
Branches
Tags
No related merge requests found
Pipeline #1771 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