diff --git a/NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl b/NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl index 110c31baaf..0bd35707a7 100644 --- a/NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl +++ b/NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl @@ -250,7 +250,7 @@ function blockedunitrange_getindices( # if they exist. This makes it so that # `only(axes(a[indices])) isa `GradedUnitRange` # if `a isa `GradedUnitRange`, for example. - return mortar(blocks, length.(blocks)) # LOOSE DUAL + return mortar(blocks, length.(blocks)) end # The block labels of the corresponding slice. diff --git a/NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl b/NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl index 994adacd31..f8893c61da 100644 --- a/NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl +++ b/NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl @@ -87,7 +87,7 @@ function blockedunitrange_getindices( v = mortar(vblocks, length.(vblocks)) # GradedOneTo appears in mortar - # axes(arr) will appear in axes(view(::BlockSparseArray, [Block(1)[1:1]])) + # axes(arr) will appear in axes(view(::BlockSparseArray, [Block(1)])) return flip_blockvector(v) end