Changes between Initial Version and Version 2 of Ticket #1731
- Timestamp:
- 2012-08-30T10:11:39Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1731
- Property Component → Frontend
- Property Milestone → 1.9.0
- Property Summary connection generating the wrong equations → Connecting ranges generates wrong equations
-
Ticket #1731 – Description
initial v2 1 {{{model M 1 {{{ 2 model M 2 3 connector InReal = input Real; 3 4 connector OutReal = output Real; … … 7 8 equation 8 9 connect(x,y[2:p+1]); 9 end M;}}} 10 end M; 11 }}} 10 12 11 13 I get: 12 {{{ x[3] = y[3]; 14 {{{ 15 x[3] = y[3]; 13 16 x[2] = y[2]; 14 x[1] = y[1];}}} 17 x[1] = y[1]; 18 }}} 15 19 16 20 I expected: 17 {{{ x[3] = y[4]; 21 {{{ 22 x[3] = y[4]; 18 23 x[2] = y[3]; 19 x[1] = y[2];}}} 24 x[1] = y[2]; 25 }}}