Skip to content

Commit a352498

Browse files
committed
fix comments
1 parent d0c02bd commit a352498

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function blockedunitrange_getindices(
250250
# if they exist. This makes it so that
251251
# `only(axes(a[indices])) isa `GradedUnitRange`
252252
# if `a isa `GradedUnitRange`, for example.
253-
return mortar(blocks, length.(blocks)) # LOOSE DUAL
253+
return mortar(blocks, length.(blocks))
254254
end
255255

256256
# The block labels of the corresponding slice.

NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function blockedunitrange_getindices(
8787

8888
v = mortar(vblocks, length.(vblocks))
8989
# GradedOneTo appears in mortar
90-
# axes(arr) will appear in axes(view(::BlockSparseArray, [Block(1)[1:1]]))
90+
# axes(arr) will appear in axes(view(::BlockSparseArray, [Block(1)]))
9191
return flip_blockvector(v)
9292
end
9393

0 commit comments

Comments
 (0)