Skip to content

Commit

Permalink
Update NDTensors/src/lib/BlockSparseArrays/src/blocksparsearray/block…
Browse files Browse the repository at this point in the history
…diagonalarray.jl

Co-authored-by: Matt Fishman <mtfishman@users.noreply.github.com>
  • Loading branch information
lkdvos and mtfishman authored Nov 7, 2024
1 parent 36d80d5 commit bbcdf50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function svd(A::BlockDiagonal; kwargs...)
end
function svd!(A::BlockDiagonal; full::Bool=false, alg::Algorithm=default_svd_alg(A))
# TODO: handle full
F = map(a -> svd!(a; full, alg), A.blocks.diag)
F = map(a -> svd!(a; full, alg), blocks(A).diag)
Us = map(Base.Fix2(getproperty, :U), F)
Ss = map(Base.Fix2(getproperty, :S), F)
Vts = map(Base.Fix2(getproperty, :Vt), F)
Expand Down

0 comments on commit bbcdf50

Please sign in to comment.