Opened 15 years ago
Closed 11 years ago
#1245 closed defect (duplicate)
Fail to flatten record with unbound constants
| Reported by: | Peter Aronsson | Owned by: | Peter Aronsson |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Backend | Version: | |
| Keywords: | Cc: | Peter Aronsson |
Description
When instantiating models involving records containg unbound constants, the flattening fails. E.g.
{{{ record Data
constant Integer num "Number of waves";
Real a[num] "Wave amplitudes";
Modelica.SIunits.Frequency f[num] "Wave frequencies";
Modelica.SIunits.Angle phase[num] "Wave phase offset";
end Data;}}}
See attached example from Mike Tillers book.
Attachments (1)
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 11 years ago
| Cc: | petar, → petar |
|---|---|
| Component: | → Backend |
| Resolution: | → duplicate |
| Status: | new → closed |
Duplicate of #1053.
Note:
See TracTickets
for help on using tickets.

(MathCore TRAC http://intranet/trac/mathmodelica/ticket/490)