Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Nov 6, 2024
1 parent d0c02bd commit a352498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NDTensors/src/lib/GradedAxes/src/gradedunitrange.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a352498

Please sign in to comment.