Opened 10 years ago
Last modified 10 years ago
#3164 accepted defect
Code generation error for tuple calls with array slices
Reported by: | Martin Sjölund | Owned by: | Mahder Alemseged Gebremedhin |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Code Generation | Version: | trunk |
Keywords: | Cc: |
Description
Code generation fails with UNKNOWN_SUBSCRIPT for the following code:
function f input Real r; output Real y = r; output Real o[3] = {r,r,r}; end f; function g input Real r; input Integer i; output Real o[4]; algorithm o[1] := f(r); (,o[i:i+2]) := f(r); (o[1],o[i:i+2]) := f(r); end g; model M Real r[4] = g(time,1); end M;
Note:
See TracTickets
for help on using tickets.