#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: | wbraun |
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 Changed 10 years ago by sjoelund.se
- Component changed from Unknown to Code Generation
comment:2 Changed 10 years ago by wbraun
- Cc wbraun added; wbraun@… removed
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 9 years ago by dietmarw
- Milestone changed from Future to pre1.9.4
comment:4 Changed 7 years ago by sjoelund.se
- Milestone changed from pre1.9.4 to 1.9.4
Removing the pre1.9.4 milestone in favor of 1.9.4.
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.