-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request
Description
Currently, reshape
requires the dimension parameters to be Int
reshape(parent::AbstractArray, dims::Int...) = reshape(parent, dims)
I am not sure if this is required for efficiency reasons, but I wonder if this could be changed to Integer
?
In reading binary formatted data I often come across the situation where dimensions of an array are specified as Int32
, and then the matrix data that follows has to be reshaped accordingly. Currently I have to escape the dimension specification using Int()
, a small effort, but it would be slightly cleaner if that would not be required.
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request