Changes between Initial Version and Version 1 of Ticket #3173
- Timestamp:
- 2015-02-23T14:30:29Z (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3173 – Description
initial v1 1 1 The following model does not flatten: 2 2 3 {{{ 3 4 model demo 4 5 Real x[8] = {1, 2, 3, 4, 5, 6, 7, 8}; … … 10 11 end for; 11 12 end demo; 13 }}} 12 14 15 {{{ 13 16 [demo.mo:7:5-7:32:writable] Error: Subscript j * (j + 1) / 2 of type Real is not a subtype of Integer, Boolean or enumeration. 14 17 [demo.mo:7:5-7:32:writable] Error: Variable x[j * (j + 1) / 2] not found in scope demo.$for loop scope$. 15 18 Error: Error occurred while flattening model demo 19 }}}