Skip to content

Commit

Permalink
- fix tests
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12681 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Aug 26, 2012
1 parent 5589f2a commit 801a933
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Expand Up @@ -10810,17 +10810,17 @@ algorithm
((e,false, (ht,b)));

// case for functionpointers
case ((e as DAE.CREF(ty=DAE.T_FUNCTION_REFERENCE_FUNC(builtin=_)),(ht,true)))
case ((e as DAE.CREF(ty=DAE.T_FUNCTION_REFERENCE_FUNC(builtin=_)),(ht,b)))
then
((e,false, (ht,true)));
((e,false, (ht,b)));

// already there
case ((e as DAE.CREF(componentRef = cr),(ht,true)))
equation
b1 = BaseHashSet.has(cr, ht);
b1 = not b1;
then
((e, b1,(ht,b1)));
((e, false,(ht,b1)));

case ((e,(ht,b))) then ((e,b,(ht,b)));
end matchcontinue;
Expand Down

0 comments on commit 801a933

Please sign in to comment.