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 04f2d36 commit e0f6761Copy full SHA for e0f6761
src/BlockArraysExtensions/blockedunitrange.jl
@@ -16,7 +16,7 @@ using BlockArrays:
16
findblockindex,
17
mortar
18
19
-function blockaxeses(a::AbstractUnitRange)
+function eachblockaxis(a::AbstractUnitRange)
20
Base.require_one_based_indexing(a)
21
return map(Base.OneTo, blocklengths(a))
22
end
src/factorizations/svd.jl
@@ -43,8 +43,8 @@ function MatrixAlgebraKit.initialize_output(
43
bm, bn = blocksize(A)
44
bmn = min(bm, bn)
45
46
- brows = blockaxeses(axes(A, 1))
47
- bcols = blockaxeses(axes(A, 2))
+ brows = eachblockaxis(axes(A, 1))
+ bcols = eachblockaxis(axes(A, 2))
48
s_axeses = Vector{eltype(brows)}(undef, bmn)
49
50
# fill in values for blocks that are present
0 commit comments