Opened 12 years ago
Closed 12 years ago
#1950 closed defect (fixed)
symmetric: failed to elaborate expression
Reported by: | Christian Schubert | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | symmetric failed to elaborate expression | Cc: | Adrian Pop |
Description
It seems that the Modelica builtin function 'symmetric' is missing.
Running the model
model test_symmetric Real A[2,2] = [[1,2]; [3,4]]; Real B[:,:] = symmetric(A); end test_symmetric;
yields
Error: Failed to elaborate expression: symmetric(A) Error occurred while flattening model test_symmetric
Attachments (3)
Change History (5)
by , 12 years ago
Attachment: | symmetric.mo added |
---|
by , 12 years ago
Attachment: | symmetric.2.mo added |
---|
by , 12 years ago
Attachment: | symmetric.mos added |
---|
comment:1 by , 12 years ago
Status: | new → accepted |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in r14075. Flattening testcase added, ExpressionSimplify handles it. If it is needed in generated code, someone working in the backend should add it.