Opened 13 years ago
Last modified 13 years ago
#1627 closed defect (fixed)
Subscripted component with modified array dimensions fails to flatten
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description
The following works in Dymola:
connector Signal parameter Integer n; Real values[n]; end Signal; model ArrayOfSignalsTest Signal mySignals[1](each n = 3); equation mySignals[1].values[2] = 1; end ArrayOfSignalsTest;
From:
http://www.openmodelica.org/index.php?option=com_agora&task=topic&id=380&Itemid=87
Note:
See TracTickets
for help on using tickets.
Fixed in r9956, see testcase mofiles/ArrayModification15.