Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • normann/preprocessor
  • Dynare/preprocessor
  • FerhatMihoubi/preprocessor
  • MichelJuillard/preprocessor
  • sebastien/preprocessor
  • lnsongxf/preprocessor
  • albop/preprocessor
  • DoraK/preprocessor
  • amg/preprocessor
  • wmutschl/preprocessor
  • JohannesPfeifer/preprocessor
11 results
Select Git revision
Loading items
Show changes
Commits on Source (1)
...@@ -5443,7 +5443,7 @@ DynamicModel::substituteUnaryOps(StaticModel &static_model, vector<int> &eqnumbe ...@@ -5443,7 +5443,7 @@ DynamicModel::substituteUnaryOps(StaticModel &static_model, vector<int> &eqnumbe
for (auto & neweq : neweqs) for (auto & neweq : neweqs)
addEquation(neweq, -1); addEquation(neweq, -1);
copy(neweqs.begin(), neweqs.end(), back_inserter(diff_aux_equations)); copy(neweqs.begin(), neweqs.end(), front_inserter(diff_aux_equations));
if (subst_table.size() > 0) if (subst_table.size() > 0)
cout << "Substitution of Unary Ops: added " << neweqs.size() << " auxiliary variables and equations." << endl; cout << "Substitution of Unary Ops: added " << neweqs.size() << " auxiliary variables and equations." << endl;
...@@ -5483,7 +5483,7 @@ DynamicModel::substituteDiff(StaticModel &static_model, ExprNode::subst_table_t ...@@ -5483,7 +5483,7 @@ DynamicModel::substituteDiff(StaticModel &static_model, ExprNode::subst_table_t
for (auto & neweq : neweqs) for (auto & neweq : neweqs)
addEquation(neweq, -1); addEquation(neweq, -1);
copy(neweqs.begin(), neweqs.end(), back_inserter(diff_aux_equations)); copy(neweqs.begin(), neweqs.end(), front_inserter(diff_aux_equations));
if (diff_subst_table.size() > 0) if (diff_subst_table.size() > 0)
cout << "Substitution of Diff operator: added " << neweqs.size() << " auxiliary variables and equations." << endl; cout << "Substitution of Diff operator: added " << neweqs.size() << " auxiliary variables and equations." << endl;
...@@ -5492,7 +5492,7 @@ DynamicModel::substituteDiff(StaticModel &static_model, ExprNode::subst_table_t ...@@ -5492,7 +5492,7 @@ DynamicModel::substituteDiff(StaticModel &static_model, ExprNode::subst_table_t
void void
DynamicModel::combineDiffAuxEquations() DynamicModel::combineDiffAuxEquations()
{ {
copy(diff_aux_equations.begin(), diff_aux_equations.end(), back_inserter(aux_equations)); copy(diff_aux_equations.begin(), diff_aux_equations.end(), front_inserter(aux_equations));
} }
void void
......