Skip to content

Commit

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

Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
lkdvos and mtfishman authored Nov 7, 2024
1 parent 85fce19 commit 780f321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ function svd!(A::BlockedMatrix; full::Bool=false, alg::Algorithm=default_svd_alg

# restore block pattern
m = length(F.S)
bsz1, bsz2, bsz3 = BlockArrays.blocksizes(A, 1), [m], BlockArrays.blocksizes(A, 2)
bax1, bax2, bax3 = axes(A, 1), blockedrange([m]), axes(A, 2)

u = BlockedArray(F.U, bsz1, bsz2)
s = BlockedVector(F.S, bsz2)
Expand Down

0 comments on commit 780f321

Please sign in to comment.