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 969df01 commit afb1ac9Copy full SHA for afb1ac9
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