Skip to content

Commit

Permalink
- fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Frenkel committed Oct 25, 2010
1 parent af1d4ff commit fd27ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Types.mo
Expand Up @@ -4855,7 +4855,7 @@ algorithm
case ((DAE.TYPES_VAR(name = id,attributes = DAE.ATTR(flowPrefix = true),type_ = ty) :: vs),cr)
equation
ty2 = elabType(ty);
cr_1 = ComponentReference.crefPrependIdent(cr, id,ty2,{});
cr_1 = ComponentReference.crefPrependIdent(cr, id,{},ty2);
// print("\n created: " +& Exp.debugPrintComponentRefTypeStr(cr_1) +& "\n");
res = flowVariables(vs, cr);
then
Expand Down Expand Up @@ -4891,7 +4891,7 @@ algorithm
case ((DAE.TYPES_VAR(name = id,attributes = DAE.ATTR(streamPrefix = true),type_ = ty) :: vs),cr)
equation
ty2 = elabType(ty);
cr_1 = ComponentReference.crefPrependIdent(cr, id,ty2,{});
cr_1 = ComponentReference.crefPrependIdent(cr, id,{},ty2);
res = streamVariables(vs, cr);
then
(cr_1 :: res);
Expand Down

0 comments on commit fd27ac6

Please sign in to comment.