Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Jun 11, 2024
1 parent 78f52c6 commit 612c85d
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -172,7 +172,7 @@ end
# ```
# TODO: Try removing once GradedAxes is rewritten for BlockArrays v1.
function blockedunitrange_getindices(a::GradedUnitRange, indices::BlockSlice)
return a[Block(indices)][indices.indices]
return a[indices.block]
end

function blockedunitrange_getindices(ga::GradedUnitRange, indices::BlockRange)
Expand Down

0 comments on commit 612c85d

Please sign in to comment.