Opened 9 years ago

Closed 3 years ago

#3517 closed defect (fixed)

wrong cyclic for record structure

Reported by: vitalij Owned by: somebody
Priority: high Milestone: 1.16.0
Component: New Instantiation Version:
Keywords: Cc: mahge930, adrpo, sjoelund.se

Description (last modified by vitalij)

For the following model

package cyclic
  record rec
    parameter Real a;
    parameter Real b;
  end rec;

  model m
    parameter rec A(a = B.a, b = 1);
    parameter rec B(a = -1, b = A.b);
  end m;
end cyclic;

we find a cycles for m.

expect flattering without cycles:

  model m
    parameter Real B.a = -1;
    parameter Real A.a = B.a;
    parameter Real A.b = 1;
    parameter Real B.b = A.b;
  end m;

Change History (3)

comment:1 Changed 9 years ago by vitalij

  • Cc mahge930 adrpo sjoelund.se added

comment:2 Changed 9 years ago by vitalij

  • Description modified (diff)

comment:3 Changed 3 years ago by perost

  • Component changed from Frontend to New Instantiation
  • Milestone changed from Future to 1.16.0
  • Resolution set to fixed
  • Status changed from new to closed

Works fine in the new frontend.

Note: See TracTickets for help on using tickets.