Opened 11 years ago
Last modified 11 years ago
#2791 closed defect
Array constructor with several iterators — at Initial Version
| Reported by: | Henrik Tidefelt | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.1 |
| Component: | Frontend | Version: | trunk |
| Keywords: | Cc: |
Description
These examples from version 3.3 of the Modelica specification, section 10.4.1.2 Array constructor with several iterators, do not work (they don't even parse):
Real hilb[:,:]= {(1/(i+j-1) for i in 1:n, j in 1:n};
Real hilb2[:,:]={{(1/(i+j-1) for j in 1:n} for i in 1:n};
Note:
See TracTickets
for help on using tickets.
