From 24e2a76c393464cf9a9e6f710e0cc9339a7c8517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=28Charybdis=29?= Date: Tue, 10 Jul 2018 18:50:15 +0200 Subject: [PATCH] Remove condition. The checkdatabase routine can be used on models with leads. --- matlab/backward/checkdatabase.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/matlab/backward/checkdatabase.m b/matlab/backward/checkdatabase.m index 1b9d55d5b..88ca3c9ec 100644 --- a/matlab/backward/checkdatabase.m +++ b/matlab/backward/checkdatabase.m @@ -23,10 +23,6 @@ function [dbase, info] = checkdatabase(dbase, DynareModel, inversionflag, simula % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -if DynareModel.maximum_endo_lead - error('The model (%s) is assumed to be backward!', DynareModel.fname) -end - if nargin<3 inversionflag = false; end