Opened 14 years ago
Last modified 14 years ago
#1411 closed defect (fixed)
Code generation issue for array-reductions in functions
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund, |
Description
{{{ class ArrayCall
function fn
input Integer size;
output Real array[size];
algorithm
array := {cos(i) for i in 1:size};
end fn;
Real x[10] = fn(10);
end ArrayCall; }}}
Note:
See TracTickets
for help on using tickets.
I implemented constant evaluation of array reductions, so this model now works. The code generation issues are not resolved though.