Skip to content

Commit

Permalink
- restrict cse functionality until next year
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23872 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Dec 19, 2014
1 parent c7f12ec commit ad31576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/CommonSubExpression.mo
Expand Up @@ -350,7 +350,7 @@ algorithm
eqs2 = arrayGet(mT,varIdx2);
//print("eqs1 "+stringDelimitList(List.map(eqs1,intString),", ")+"\n");
//print("eqs2 "+stringDelimitList(List.map(eqs2,intString),", ")+"\n");
//true = intEq(listLength(eqs1),1) or intEq(listLength(eqs2),1); // choose the variable to be removed, that does not influence the causalization
true = intEq(listLength(eqs1),1) or intEq(listLength(eqs2),1); // choose the variable to be removed, that does not influence the causalization
if intLe(listLength(eqs2),listLength(eqs1)) then varIdxAlias = varIdx2; varIdxRepl = varIdx1; else varIdxAlias = varIdx1; varIdxRepl = varIdx2; end if;
if intLe(listLength(eqs2),listLength(eqs1)) then eqIdxDel = eqIdx2; eqIdxLeft = eqIdx1; else eqIdxDel = eqIdx1; eqIdxLeft = eqIdx2; end if;

Expand Down

0 comments on commit ad31576

Please sign in to comment.