We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44876a commit 17d457dCopy full SHA for 17d457d
NDTensors/src/lib/GradedAxes/src/gradedunitrangedual.jl
@@ -58,7 +58,9 @@ function blockedunitrange_getindices(
58
a::GradedUnitRangeDual, indices::Vector{<:BlockIndexRange{1}}
59
)
60
a_indices = getindex(nondual(a), indices)
61
- return mortar([label_dual(b) for b in blocks(a_indices)])
+ v = mortar(dual.(blocks(a_indices)))
62
+ # flip v to stay consistent with other cases where axes(v) are used
63
+ return flip_blockvector(v)
64
end
65
66
function blockedunitrange_getindices(
0 commit comments