You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "ERROR: ArgumentError: invalid Array dimensions" is more common. We should, at the very least, put an inline comment in the 3+ arg Core.checked_dims method that notes this gap.
The text was updated successfully, but these errors were encountered:
LilithHafner
changed the title
Inconsistent error messages when constructing arrays with negative first dimension
It is possible to construct arrays with negative first dimension
May 1, 2024
Normally, invalid array sizes are caught by
Core.checked_dims
, butCore.checked_dims(-10, 10, 10)
does not throw, leading to this errorWhen "ERROR: ArgumentError: invalid Array dimensions" is more common. We should, at the very least, put an inline comment in the 3+ arg
Core.checked_dims
method that notes this gap.The text was updated successfully, but these errors were encountered: