Opened 14 years ago

Closed 9 years ago

#1245 closed defect (duplicate)

Fail to flatten record with unbound constants

Reported by: petar Owned by: petar
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: petar

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)

TestComplexWaveTotal.mo (32.9 KB) - added by adrpo 14 years ago.
test

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by adrpo

test

comment:2 Changed 9 years ago by perost

  • Cc changed from petar, to petar
  • Component set to Backend
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #1053.

Note: See TracTickets for help on using tickets.