Skip to content

Commit

Permalink
- switch on equality equations to alias variables in BackendDAE.creat…
Browse files Browse the repository at this point in the history
…e phase

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13327 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Oct 12, 2012
1 parent 8289878 commit a974b38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Compiler/BackEnd/BackendDAECreate.mo
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,8 @@ algorithm

// effort variable equality equations, seperated to generate alias variables
case (DAE.EQUEQUATION(cr1 = _),_,_,_,_,_,_,_,_,_,_,_,_)
equation
eqns = lowerEqn(inElement,functionTree,inEqnsLst);
then
(inVars,inKnVars,inExVars,eqns,inREqnsLst,inIEqnsLst,inConstraintLst,inClassAttributeLst,inWhenClauseLst,inExtObjClasses,/* inElement:: */iAliaseqns);
(inVars,inKnVars,inExVars,inEqnsLst,inREqnsLst,inIEqnsLst,inConstraintLst,inClassAttributeLst,inWhenClauseLst,inExtObjClasses,inElement::iAliaseqns);

// a solved equation
case (DAE.DEFINE(componentRef = _),_,_,_,_,_,_,_,_,_,_,_,_)
Expand Down

0 comments on commit a974b38

Please sign in to comment.