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

Filter out a vector-sized nobs, which crashes dynare_sensitivity.m

parent 5feea2fc
Branches
Tags
No related merge requests found
......@@ -93,6 +93,9 @@ if ~isempty(options_gsa.datafile) || isempty(bayestopt_) || options_gsa.rmse
disp('must be specified for RMSE analysis!');
error('Sensitivity anaysis error!')
end
if ~isempty(options_.nobs) && length(options_.nobs)~=1
error('dynare_sensitivity does not support recursive estimation. Please specify nobs as a scalar, not a vector.')
end
options_.datafile = options_gsa.datafile;
if isfield(options_gsa,'first_obs')
options_.first_obs=options_gsa.first_obs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment