clarify error messages

issue#70
Houtan Bastani 2018-05-28 15:54:20 +02:00
parent dd8b05e2f0
commit ad19c535ef
1 changed files with 2 additions and 2 deletions

View File

@ -3490,7 +3490,7 @@ DynamicModel::getUndiffLHSForPac(vector<int> &lhs, vector<expr_t> &lhs_expr_t, v
if (eqn == -1)
{
cerr << "ERROR: equation tag '" << eqtag << "' not found" << endl;
cerr << "ERROR: undiff equation tag '" << eqtag << "' not found" << endl;
exit(EXIT_FAILURE);
}
@ -3502,7 +3502,7 @@ DynamicModel::getUndiffLHSForPac(vector<int> &lhs, vector<expr_t> &lhs_expr_t, v
if (eqnumber[i] != eqn)
{
cerr << "ERROR: equation not found in VAR";
cerr << "ERROR: equation " << eqn << " not found in VAR" << endl;
exit(EXIT_FAILURE);
}