Changes between Initial Version and Version 1 of Ticket #5659, comment 17
- Timestamp:
- 2019-10-21T14:09:53Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5659, comment 17
initial v1 93 93 I just wanted to remind you that you should not rely on last subscripts usually. They do not account for arrays of records. Most usage of last subscripts in the compiler is assuming that all other subscripts of a qualified cref came from arrays of **models**. 94 94 95 If you need to ignore subscripts , usually you should ignore all subscripts where the cref is a **complex type is amodel**.95 If you need to ignore subscripts from a qualified cref, usually you should ignore all subscripts where the cref type is a **complex type model**. 96 96 97 97 There is some code in CheckModel.mo that accounts for this. I will check again and let you know.