#2911 closed defect (fixed)
Error caused by utilizing array " Compilation process exited with code 2"
| Reported by: | MJ | Owned by: | MJ |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.4 |
| Component: | Code Generation | Version: | trunk |
| Keywords: | Array | Cc: | Willi Braun |
Description
model Q
parameter Real[2, 1] ini_0(each fixed = false);
parameter Real a(fixed = false);
parameter Real b(fixed = false);
function ini0
input Real A;
input Real B;
output Real[2, 1] ini_0;
algorithm
ini_0 := [A; B];
end ini0;
initial algorithm
ini_0 := ini0(1, 2);
a := ini_0[1, 1];
b := ini_0[2, 1];
end Q;
Change History (4)
comment:1 by , 11 years ago
| Component: | Unknown → Code Generation |
|---|
comment:2 by , 11 years ago
| Cc: | added; removed |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:3 by , 10 years ago
| Milestone: | Future → pre1.9.4 |
|---|
comment:4 by , 8 years ago
| Milestone: | pre1.9.4 → 1.9.4 |
|---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Note:
See TracTickets
for help on using tickets.

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.