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.
BlockDiagonal
1 parent 1cf4cb9 commit 2f80c18Copy full SHA for 2f80c18
src/blocksparsearray/blockdiagonalarray.jl
@@ -13,7 +13,7 @@ end
13
14
# SVD implementation
15
function eigencopy_oftype(A::BlockDiagonal, T)
16
- diag = map(Base.Fix2(eigencopy_oftype, T), A.blocks.diag)
+ diag = map(Base.Fix2(eigencopy_oftype, T), LinearAlgebra.diag(blocks(A)))
17
return BlockDiagonal(diag)
18
end
19
0 commit comments