Closed tcarion closed 1 year ago
This is more something @meggart will know more about than me.
But I think there is already a mechanism for adding these dimensions, we just need to plug it in.
Yes, this is a case not yet covered by DiskArrays, will prepare a fix today.
@tcarion this is fixed with #98
In regular Julia array, it is possible to index a
N
-dimensional array with more thanN
indices (see the documentation). When using anAbstractVector
for additional indices, it fails with aDiskArray
, which is inconsistent with the behaviour of Julia arrays:Julia arrays:
_DiskArray
from the tests:Note that there's no issue when indexing with an integer (
DA[2, 1]
works fine)This issue originated from here
cc @rafaqz