Commit 8752cf00 authored by Johannes Pfeifer 's avatar Johannes Pfeifer

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

dynare_sensitivity.m: provide informative error message if no varexo are defined. Closes #1651
parent 107be125
Pipeline #1771 passed with stages
in 75 minutes and 7 seconds
......@@ -132,6 +132,11 @@ else
options_.qz_criterium = 1+1e-6;
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_);
options_gsa = set_default_option(options_gsa,'identification',0);
......
Markdown is supported
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