#1519 closed defect (fixed)
Add check for self-referencing matrix dimensions
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description
Dymola gives an error for this, and works fine if the matrix is square. OpenModelica does not complain enough (this makes me uneasy, and should make this bug top priority).
model M Real A[:,size(A,1)] = {{1,2}}; end M;
Change History (3)
comment:1 by , 12 years ago
Component: | → Backend |
---|---|
Milestone: | → Future |
Priority: | low → high |
comment:2 by , 4 years ago
Component: | Backend → New Instantiation |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 4 years ago
Milestone: | Future → 1.16.0 |
---|
Note:
See TracTickets
for help on using tickets.
The new frontend gives an error for this:
which I guess is good enough.