Opened 9 years ago
Closed 4 years ago
#3517 closed defect (fixed)
wrong cyclic for record structure
Reported by: | Vitalij Ruge | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: | Mahder Alemseged Gebremedhin, Adrian Pop, Martin Sjölund |
Description (last modified by )
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 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 4 years ago
Component: | Frontend → New Instantiation |
---|---|
Milestone: | Future → 1.16.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Works fine in the new frontend.