Changes between Initial Version and Version 1 of Ticket #5886, comment 4
- Timestamp:
- 2020-03-13T09:09:22Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5886, comment 4
initial v1 25 25 }}} 26 26 27 As you can see, the second equation in model {{{Component}}} istries to access {{{T[1,2]}}} regardless of the value of {{{cols}}}.27 As you can see, the second equation in model {{{Component}}} tries to access {{{T[1,2]}}} regardless of the value of {{{cols}}}. 28 28 29 29 This is where the problem is. If {{{z}}} is {{{1}}} then cols is set to {{{1}}} which means {{{T}}} is a {{{[4,1]}}} array. Trying to access {{{[1,2]}}} will should normally cause out of range access error.