Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Fix BackendEquation.merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel authored and OpenModelica-Hudson committed Apr 15, 2017
1 parent 8e24cbf commit 2892979
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/BackEnd/BackendEquation.mo
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ algorithm
end for;
end deleteList;

public function merge "
public function merge "author: lochel
This function returns an EquationArray containing all the equations from both
inputs.
TODO: Fix side-effect"
inputs."
input BackendDAE.EquationArray inEqns1;
input BackendDAE.EquationArray inEqns2;
output BackendDAE.EquationArray outEqns;
algorithm
outEqns := addList(equationList(inEqns1), inEqns2);
outEqns := copyEquationArray(inEqns2);
outEqns := addList(equationList(inEqns1), outEqns);
end merge;

public function listEquation "author: PA
Expand Down

0 comments on commit 2892979

Please sign in to comment.