Merge branch 'sensitivity' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2009
trustregion
Sébastien Villemot 2022-03-24 17:53:34 +01:00
commit 014a3c3f2e
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 4 additions and 1 deletions

View File

@ -84,7 +84,10 @@ elseif isfield(options_gsa,'neighborhood_width') && options_gsa.neighborhood_wid
options_.mode_file='';
end
options_.order = 1;
if options_.order~=1
warning('dynare_sensitivity: dynare_sensitivity does only support order=1, resetting to order=1.')
options_.order = 1;
end
if ~isempty(options_gsa.datafile) || isempty(bayestopt_) || options_gsa.rmse
if isempty(options_gsa.datafile) && options_gsa.rmse