Skip to content

Commit ad31576

Browse files
author
Volker Waurich
committed
- restrict cse functionality until next year
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23872 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent c7f12ec commit ad31576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/BackEnd/CommonSubExpression.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ algorithm
350350
eqs2 = arrayGet(mT,varIdx2);
351351
//print("eqs1 "+stringDelimitList(List.map(eqs1,intString),", ")+"\n");
352352
//print("eqs2 "+stringDelimitList(List.map(eqs2,intString),", ")+"\n");
353-
//true = intEq(listLength(eqs1),1) or intEq(listLength(eqs2),1); // choose the variable to be removed, that does not influence the causalization
353+
true = intEq(listLength(eqs1),1) or intEq(listLength(eqs2),1); // choose the variable to be removed, that does not influence the causalization
354354
if intLe(listLength(eqs2),listLength(eqs1)) then varIdxAlias = varIdx2; varIdxRepl = varIdx1; else varIdxAlias = varIdx1; varIdxRepl = varIdx2; end if;
355355
if intLe(listLength(eqs2),listLength(eqs1)) then eqIdxDel = eqIdx2; eqIdxLeft = eqIdx1; else eqIdxDel = eqIdx1; eqIdxLeft = eqIdx2; end if;
356356

0 commit comments

Comments
 (0)