Opened 11 years ago
Closed 11 years ago
#2529 closed defect (fixed)
Vectorization of unknown dimensions fails
Reported by: | Martin Sjölund | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Vectorization fails for the following case:
function f input Integer m; output Real y; protected parameter Real phi[m] = linspace(0,1,m); parameter Real t[m] = cos(phi); algorithm y := sum(t); end f; model M Real r = f(integer(time)); end M;
Change History (3)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Note:
See TracTickets
for help on using tickets.
As far as I know Mahder worked on something similar to this (checking the array size when given as input to the function).