Skip to content

Commit

Permalink
Do not expand-expand-...-expand crefs hoping this will change the res…
Browse files Browse the repository at this point in the history
…ults

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22967 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 27, 2014
1 parent 4daf4d1 commit 708c137
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/SimCode/SimCodeUtil.mo
Expand Up @@ -6432,6 +6432,7 @@ algorithm
case (DAE.CREF(componentRef=cr), _)
equation
crefs = ComponentReference.expandCref(cr, true);
false = valueEq({cr},crefs); // Not an expanded element
expLst = List.map(crefs, Expression.crefExp);
List.foldAllValue(expLst, createSingleComplexEqnCode3, true, iht);
then (true, iht);
Expand Down

0 comments on commit 708c137

Please sign in to comment.