From 33f659a866708a6bac42fb1fc08f5a1dbd83fb3c Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 4 May 2017 16:54:47 +0200 Subject: [PATCH] preprocessor: clean up commit 63180c9e5922d3f198684647051231344486c55d --- DynamicModel.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DynamicModel.cc b/DynamicModel.cc index d63692c8..12658291 100644 --- a/DynamicModel.cc +++ b/DynamicModel.cc @@ -3239,10 +3239,7 @@ DynamicModel::addEquationsForVar(map<string, pair<SymbolList, int> > var_model_i { map<string, int>::const_iterator it1 = model_endos_and_lags.find(it->first); if (it1 == model_endos_and_lags.end()) - { - cerr << "WARNING: Variable used in var that is not used in the model: " << it->first << endl; - // exit(EXIT_FAILURE); - } + cerr << "WARNING: Variable used in VAR that is not used in the model: " << it->first << endl; else if (it->second < it1->second) { -- GitLab