diff --git a/matlab/initial_estimation_checks.m b/matlab/initial_estimation_checks.m index b684fa1db16b3fd29064da99ecf8c302e2a081b0..89629275f4e7691bc998c6c9705d854ccea6bee6 100644 --- a/matlab/initial_estimation_checks.m +++ b/matlab/initial_estimation_checks.m @@ -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 diff --git a/matlab/perfect-foresight-models/perfect_foresight_setup.m b/matlab/perfect-foresight-models/perfect_foresight_setup.m index b3002fd412002181f2026777546258909f69fb48..d660eef5ba8cd50b0bb2b1523559b1159fb07b71 100644 --- a/matlab/perfect-foresight-models/perfect_foresight_setup.m +++ b/matlab/perfect-foresight-models/perfect_foresight_setup.m @@ -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});