Skip to content

Commit 8f358d2

Browse files
committed
use mortar
1 parent 9b64ab2 commit 8f358d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ function blockedunitrange_getindices(
9393
end
9494

9595
function flip_blockvector(v::BlockVector)
96-
# TODO way to create BlockArray with specified axis without relying on internal?
9796
block_axes = flip.(axes(v))
98-
flipped = BlockArrays._BlockArray(vec.(blocks(v)), block_axes)
97+
flipped = mortar(vec.(blocks(v)), block_axes)
9998
return flipped
10099
end
101100

0 commit comments

Comments
 (0)