Skip to content
Snippets Groups Projects
Commit 50b1f0a1 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by Stéphane Adjemian
Browse files

Merge pull request #1473 from JohannesPfeifer/sensitivity

Filter out a vector-sized nobs, which crashes dynare_sensitivity.m
(cherry picked from commit 970feee3)
parent 0878694e
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