include_eqs/exclude_eqs: fix equation number in error message
parent
f44155d43a
commit
5d0ad3f666
|
@ -1591,7 +1591,7 @@ ModelTree::includeExcludeEquations(set<pair<string, string>> &eqs, bool exclude_
|
|||
excluded_vars.push_back(result.begin()->first);
|
||||
else
|
||||
{
|
||||
cerr << "ERROR: Equation " << i
|
||||
cerr << "ERROR: Equation " << i+1
|
||||
<< " has been excluded but does not have a single variable on LHS or `endogenous` tag" << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue