From a35249818438137a0b4cb7ec91d1b3b1d1e06e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Gauth=C3=A9?= Date: Wed, 6 Nov 2024 16:04:36 -0500 Subject: [PATCH] fix comments --- NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl | 2 +- NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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