Commit 970feee3 authored by Stéphane Adjemian's avatar Stéphane Adjemian Committed by GitHub

Merge pull request #1473 from JohannesPfeifer/sensitivity

Filter out a vector-sized nobs, which crashes dynare_sensitivity.m
parents 6a789458 344504a3
......@@ -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!')
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.')
options_.datafile = options_gsa.datafile;
if isfield(options_gsa,'first_obs')
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