Skip to content

Commit bb4b579

Browse files
committed
Fix decompression.jl
1 parent de23fc7 commit bb4b579

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/decompression.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,16 +437,12 @@ function decompress!(
437437
fill!(A, zero(eltype(A)))
438438

439439
rvS = rowvals(S)
440-
l = 0 # assume A has the same pattern as the triangle
441440
for j in axes(S, 2)
442441
for k in nzrange(S, j)
443442
i = rvS[k]
444443
if in_triangle(i, j, uplo)
445444
A[i, j] = B[compressed_indices[k]]
446445
end
447-
if in_triangle(j, i, uplo)
448-
A[j, i] = B[compressed_indices[k]]
449-
end
450446
end
451447
end
452448
return A

0 commit comments

Comments
 (0)