Skip to content
Snippets Groups Projects
Verified Commit 014a3c3f authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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

Ref. !2009
parents 9a4e08fe a1ebd20a
No related branches found
No related tags found
1 merge request!2009dynare_sensitivity.m: provide warning if order is reset
Pipeline #6849 passed
...@@ -84,7 +84,10 @@ elseif isfield(options_gsa,'neighborhood_width') && options_gsa.neighborhood_wid ...@@ -84,7 +84,10 @@ elseif isfield(options_gsa,'neighborhood_width') && options_gsa.neighborhood_wid
options_.mode_file=''; options_.mode_file='';
end end
if options_.order~=1
warning('dynare_sensitivity: dynare_sensitivity does only support order=1, resetting to order=1.')
options_.order = 1; options_.order = 1;
end
if ~isempty(options_gsa.datafile) || isempty(bayestopt_) || options_gsa.rmse if ~isempty(options_gsa.datafile) || isempty(bayestopt_) || options_gsa.rmse
if isempty(options_gsa.datafile) && options_gsa.rmse if isempty(options_gsa.datafile) && options_gsa.rmse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment