#3873 closed defect (duplicate)
Matrix Compiler Bug
Reported by: | Owned by: | Jal Panchal | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Environment | Version: | v1.9.4-v1.9.x |
Keywords: | Cc: |
Description (last modified by )
Received a Compiler Bug while calculating Symmetric matrix using symmetric() Operator.
Please refer to code below;
model MathTest Real x[Boolean]; Real y; Real z[1,7] ; Real a[2,2,3]; Real b[2] = {1,2}; Real c[2] = {8, 4}; Real d[3] = {5,7,9}; Integer e[3,3] = [1,5,7;78,67,7;8,65,4]; Integer f[3,3]; equation x = {78,56}; y = scalar(x[0]); z = 3.0*{1:0.2:2.2}; a = {i*c[j]*d[k] for k in 1:3, j in 1:2, i in 1:2}; f = symmetric(e); end MathTest;
ERROR MESSAGE:
[MathTest: 25:3-25:19]: Got type mismatch error, but matching types Integer[3, 3]. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica.
Change History (3)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|---|
Milestone: | 1.9.x → 1.10.0 |
Version: | v1.10.0-dev-nightly → v1.9.4 |
comment:2 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #3842. The issue is fixed in the latest nightly build.