new diff equations not added to aux_equations

issue#70
Houtan Bastani 2018-03-02 16:40:19 +01:00
parent f56ae705a4
commit 583734f515
1 changed files with 2 additions and 0 deletions

View File

@ -4928,6 +4928,8 @@ DynamicModel::substituteDiff(StaticModel &static_model)
for (int i = 0; i < (int) neweqs.size(); i++)
addEquation(neweqs[i], -1);
copy(neweqs.begin(), neweqs.end(), back_inserter(aux_equations));
if (diff_subst_table.size() > 0)
cout << "Substitution of Diff operator: added " << neweqs.size() << " auxiliary variables and equations." << endl;
}