include_eqs/exclude_eqs: fix equation number in error message

5.x
Sébastien Villemot 2021-12-13 16:47:35 +01:00
parent f44155d43a
commit 5d0ad3f666
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}