Skip to content

Commit e0f6761

Browse files
committed
Better name
1 parent 04f2d36 commit e0f6761

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/BlockArraysExtensions/blockedunitrange.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ using BlockArrays:
1616
findblockindex,
1717
mortar
1818

19-
function blockaxeses(a::AbstractUnitRange)
19+
function eachblockaxis(a::AbstractUnitRange)
2020
Base.require_one_based_indexing(a)
2121
return map(Base.OneTo, blocklengths(a))
2222
end

src/factorizations/svd.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ function MatrixAlgebraKit.initialize_output(
4343
bm, bn = blocksize(A)
4444
bmn = min(bm, bn)
4545

46-
brows = blockaxeses(axes(A, 1))
47-
bcols = blockaxeses(axes(A, 2))
46+
brows = eachblockaxis(axes(A, 1))
47+
bcols = eachblockaxis(axes(A, 2))
4848
s_axeses = Vector{eltype(brows)}(undef, bmn)
4949

5050
# fill in values for blocks that are present

0 commit comments

Comments
 (0)