Opened 13 years ago
Last modified 12 years ago
#1731 closed defect (fixed)
Connecting ranges generates wrong equations
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description (last modified by )
model M connector InReal = input Real; connector OutReal = output Real; parameter Integer p = 3; InReal x[p]; OutReal y[p+1]; equation connect(x,y[2:p+1]); end M;
I get:
x[3] = y[3]; x[2] = y[2]; x[1] = y[1];
I expected:
x[3] = y[4]; x[2] = y[3]; x[1] = y[2];
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Component: | → Frontend |
---|---|
Description: | modified (diff) |
Milestone: | → 1.9.0 |
Summary: | connection generating the wrong equations → Connecting ranges generates wrong equations |
Note:
See TracTickets
for help on using tickets.
Fixed in r11848, see test case mofiles/Connect17.