Skip to content

Commit 0098eae

Browse files
author
Willi Braun
committed
- fix last commit
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14471 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent b7c0356 commit 0098eae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Compiler/BackEnd/SimCodeUtil.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5862,7 +5862,7 @@ algorithm
58625862
(ifbranches, uniqueEqIndex, tempvars) = createEquationsIfBranch(conditions, eqnsLst, inVars, helpVarInfo, shared, genDiscrete, iuniqueEqIndex, itempvars);
58635863
(equations_, uniqueEqIndex, tempvars) = createEquationsfromList(elseqns, inVars, helpVarInfo, genDiscrete, uniqueEqIndex, tempvars);
58645864
then
5865-
({SimCode.SES_IFEQUATION_ASSIGN(uniqueEqIndex,ifbranches,equations_,source_)}, uniqueEqIndex+1, tempvars);
5865+
({SimCode.SES_IFEQUATION(uniqueEqIndex,ifbranches,equations_,source_)}, uniqueEqIndex+1, tempvars);
58665866
else
58675867
equation
58685868
Error.addMessage(Error.INTERNAL_ERROR,{"SimCodeUtil.createSingleIfEqnCode failed."});
@@ -13094,10 +13094,10 @@ algorithm
1309413094
equation
1309513095
((exp,a)) = func((exp,a));
1309613096
then (SimCode.SES_ARRAY_CALL_ASSIGN(index,cr,exp,source),a);
13097-
case (SimCode.SES_IFEQUATION_ASSIGN(index,ifbranches,elsebranch,source),_,a)
13097+
case (SimCode.SES_IFEQUATION(index,ifbranches,elsebranch,source),_,a)
1309813098
equation
1309913099
/* TODO: Me */
13100-
then (SimCode.SES_IFEQUATION_ASSIGN(index,ifbranches,elsebranch,source),a);
13100+
then (SimCode.SES_IFEQUATION(index,ifbranches,elsebranch,source),a);
1310113101
case (SimCode.SES_ALGORITHM(index,stmts),_,a)
1310213102
equation
1310313103
/* TODO: Me */

0 commit comments

Comments
 (0)