Opened 6 years ago
Last modified 3 years ago
#5389 assigned defect
Creation of Complex array fails
Reported by: | Owned by: | Karim Adbdelhak | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Code Generation | Version: | v1.14.0-dev-nightly |
Keywords: | complex | Cc: |
Description
Creating an array of Complex fails.
I think I'm not doing anything wrong (Dymola compiles!)
model complexArray Complex compl_arr_not_working[1]; Complex compl_working; Complex compl_arr_working[1] = {Complex(1.0)}; // this DOES work algorithm compl_arr_not_working := {Complex(1.0)}; // this does NOT work compl_working := Complex(1.0); // this DOES work end complexArray;
Change History (7)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 6 years ago
Note though, the following works:
function t protected Complex c[1]; algorithm c := {Complex(1.0)}; end t;
comment:4 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Note:
See TracTickets
for help on using tickets.
This is the output I get: