From 6df3bb785e616791ce290071bc9861bdabf00d39 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 9 Apr 2015 16:17:47 +0200 Subject: [PATCH] preprocessor: fix error message for InitParamStatement clone/reindex method --- NumericalInitialization.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NumericalInitialization.cc b/NumericalInitialization.cc index 08a172f8..501f202b 100644 --- a/NumericalInitialization.cc +++ b/NumericalInitialization.cc @@ -84,7 +84,8 @@ InitParamStatement::cloneAndReindexSymbIds(DataTree &dynamic_datatree, SymbolTab } catch (...) { - cerr << "ERROR: encountered in InitParamStatement::cloneAndReindexSymbIds. Should not arrive here" << endl; + cerr << "ERROR: A variable in the init_param statement was not found in the symbol table" << endl + << " This likely means that you have declared a varexo that is not used in the model" << endl; exit(EXIT_FAILURE); } }