Opened 11 years ago
Closed 11 years ago
#1950 closed defect (fixed)
symmetric: failed to elaborate expression
Reported by: | cschubert | Owned by: | sjoelund.se |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | trunk |
Keywords: | symmetric failed to elaborate expression | Cc: | adrpo |
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)
Changed 11 years ago by cschubert
Changed 11 years ago by cschubert
Changed 11 years ago by cschubert
comment:1 Changed 11 years ago by sjoelund.se
- Status changed from new to accepted
comment:2 Changed 11 years ago by sjoelund.se
- Resolution set to fixed
- Status changed from accepted to 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.