Skip to content

Commit

Permalink
- use eqequation to remove aliases in BackendDAECreate
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13732 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Oct 31, 2012
1 parent 62c473c commit f7770b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/BackEnd/BackendDAECreate.mo
Expand Up @@ -300,9 +300,10 @@ algorithm
// effort variable equality equations, seperated to generate alias variables
case (DAE.EQUEQUATION(cr1 = _),_,_,_,_,_,_,_,_,_,_,_,_)
equation
eqns = lowerEqn(inElement,functionTree,inEqnsLst);
//eqns = lowerEqn(inElement,functionTree,inEqnsLst);
eqns = inEqnsLst;
then
(inVars,inKnVars,inExVars,eqns,inREqnsLst,inIEqnsLst,inConstraintLst,inClassAttributeLst,inWhenClauseLst,inExtObjClasses,/*inElement::*/iAliaseqns);
(inVars,inKnVars,inExVars,eqns,inREqnsLst,inIEqnsLst,inConstraintLst,inClassAttributeLst,inWhenClauseLst,inExtObjClasses,inElement::iAliaseqns);

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

0 comments on commit f7770b1

Please sign in to comment.