Skip to content

Commit 4a86382

Browse files
author
Volker Waurich
committed
-activated case in inlineArrayEquations.mo
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20938 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent d329065 commit 4a86382

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compiler/BackEnd/InlineArrayEquations.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ algorithm
174174
ea2 = Expression.flattenArrayExpToList(e2_1);
175175
((_, eqns)) = List.threadFold4(ea1, ea2, generateScalarArrayEqns2, source, differentiated, eqKind, DAE.EQUALITY_EXPS(lhs, rhs), (1, inAccEqnLst));
176176
then (eqns, true);
177-
/*
177+
178178
case (BackendDAE.ARRAY_EQUATION(left=lhs,right=rhs, source=source, differentiated=differentiated, kind=eqKind), _) equation
179179
((e1_1, (_, _))) = BackendDAEUtil.extendArrExp((lhs, (NONE(), false)));
180180
((e2_1, (_, _))) = BackendDAEUtil.extendArrExp((rhs, (NONE(), false)));
@@ -186,7 +186,7 @@ algorithm
186186
ea2 = Expression.flattenArrayExpToList(e2_1);
187187
((_, eqns)) = List.threadFold4(ea1, ea2, generateScalarArrayEqns2, source, differentiated, eqKind, DAE.EQUALITY_EXPS(lhs, rhs), (1, inAccEqnLst));
188188
then (eqns, true);
189-
*/
189+
190190
case (BackendDAE.COMPLEX_EQUATION(left=lhs, right=rhs, source=source, differentiated=differentiated, kind=eqKind), _) equation
191191
ea1 = Expression.splitRecord(lhs,Expression.typeof(lhs));
192192
ea2 = Expression.splitRecord(rhs,Expression.typeof(rhs));

0 commit comments

Comments
 (0)