Remove condition.

The checkdatabase routine can be used on models with leads.
time-shift
Stéphane Adjemian(Charybdis) 2018-07-10 18:50:15 +02:00
parent 51332c6fd6
commit 24e2a76c39
1 changed files with 0 additions and 4 deletions

View File

@ -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 <http://www.gnu.org/licenses/>.
if DynareModel.maximum_endo_lead
error('The model (%s) is assumed to be backward!', DynareModel.fname)
end
if nargin<3
inversionflag = false;
end