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

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

Ref. !1986
parents 93883aad 8cf6fe0b
No related branches found
No related tags found
1 merge request!1986initial_estimation_checks.m: fix warning display
Pipeline #6549 passed
......@@ -72,7 +72,7 @@ if DynareOptions.order>1
error('initial_estimation_checks:: the particle filter with order>2 does not support pruning')
end
if DynareOptions.particle.pruning~=DynareOptions.pruning
warning('initial_estimation_checks:: the pruning settings differ between the particle filter and the one used for IRFs/simulations. Make sure this is intended.\n')
warning('initial_estimation_checks:: the pruning settings differ between the particle filter and the one used for IRFs/simulations. Make sure this is intended.')
end
end
......
......@@ -12,7 +12,7 @@ function perfect_foresight_setup()
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 1996-2019 Dynare Team
% Copyright (C) 1996-2021 Dynare Team
%
% This file is part of Dynare.
%
......@@ -53,7 +53,7 @@ end
if ~isempty(M_.det_shocks) && options_.periods<max([M_.det_shocks.periods])
% Some expected shocks happen after the terminal period.
mess = sprintf('Problem with the declaration of the expected shocks:\n');
mess = sprintf('\nPERFECT_FORESIGHT_SETUP: Problem with the declaration of the expected shocks:\n');
for i=1:length(M_.det_shocks)
if any(M_.det_shocks(i).periods>options_.periods)
mess = sprintf('%s\n At least one expected value for %s has been declared after the terminal period.', mess, M_.exo_names{M_.det_shocks(i).exo_id});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment