perfect_foresight_setup.m: add line skip

fix-evaluate-routine
Johannes Pfeifer 2021-12-30 14:27:12 +01:00
parent 086e0895cb
commit 8cf6fe0be4
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ function perfect_foresight_setup()
% SPECIAL REQUIREMENTS % SPECIAL REQUIREMENTS
% none % none
% Copyright (C) 1996-2019 Dynare Team % Copyright (C) 1996-2021 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
@ -53,7 +53,7 @@ end
if ~isempty(M_.det_shocks) && options_.periods<max([M_.det_shocks.periods]) if ~isempty(M_.det_shocks) && options_.periods<max([M_.det_shocks.periods])
% Some expected shocks happen after the terminal period. % 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) for i=1:length(M_.det_shocks)
if any(M_.det_shocks(i).periods>options_.periods) 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}); 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});