too many indices for array: array is 2-dimensional, but 3 were indexed
时间: 2024-05-28 08:08:42 浏览: 151
d3-skewt-and-indices:rsobash的d3-skewt的叉子。 这个新版本旨在替代COMET的MetEd Flash资源,交互式Skew-T Log P图
This error occurs when you try to access an element of a multi-dimensional array using too many indices.
For example, if you have a 2-dimensional array with dimensions (3,4) and you try to access element (1,2,3), you will get this error because there are only 2 dimensions in the array, not 3.
To fix this error, make sure you are using the correct number of indices to access the element you want. If you are unsure how many indices to use, check the dimensions of your array.
阅读全文