Skip to content

Commit

Permalink
- try to fix bootstrapper
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18565 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Jan 2, 2014
1 parent a7aca9c commit 2b989d0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -7198,7 +7198,7 @@ original equation."
input list<BackendDAE.Equation> daeEqsIn;
output list<BackendDAE.Equation> daeEqsOut;
algorithm
eqsOut := matchcontinue(partitionsIn,mIn,mTIn,eqMapping,varMapping,daeVarsIn,daeEqsIn)
daeEqsOut := matchcontinue(partitionsIn,mIn,mTIn,eqMapping,varMapping,daeVarsIn,daeEqsIn)
local
Boolean isSingleLoop;
Integer startEqDaeIdx,startEqIdx;
Expand Down Expand Up @@ -7411,10 +7411,9 @@ algorithm
exp2 := sumUp2Expressions(sumUp,exp2,exp4);
//print("exp2\n");
//ExpressionDump.dumpExp(exp2);
eqOut := BackendDAE.EQUATION(exp1,exp2,DAE.emptyElementSource(),false);
eqOut := BackendDAE.EQUATION(exp1,exp2,DAE.emptyElementSource,false);
end sumUp2Equations;


protected function sumUp2Expressions "sums up or subtracts 2 expressions, depending on the boolen (true=+, false =-)
author:Waurich TUD 2013-12"
input Boolean sumUp;
Expand All @@ -7438,7 +7437,7 @@ author:Waurich TUD 2013-12"
input BackendDAE.Equation eqIn;
output Boolean isPos;
algorithm
osPos := matchcontinue(crefIn,eqIn)
isPos := matchcontinue(crefIn,eqIn)
local
Boolean exists1, exists2 ,sign1, sign2;
DAE.Exp e1,e2;
Expand Down

0 comments on commit 2b989d0

Please sign in to comment.