Skip to content

Commit b24c181

Browse files
committed
No optimized decompression
1 parent 96f5662 commit b24c181

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

ext/SparseMatrixColoringsBandedMatricesExt.jl

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,4 @@ function SMC.coloring(
4242
return RowColoringResult(A, bg, color)
4343
end
4444

45-
function SMC.decompress!(A::BandedMatrix, B::AbstractMatrix, result::ColumnColoringResult)
46-
color = column_colors(result)
47-
for j in axes(A, 2)
48-
c = color[j]
49-
for i in colrange(A, j)
50-
A[i, j] = B[i, c]
51-
end
52-
end
53-
return A
54-
end
55-
56-
function SMC.decompress!(A::BandedMatrix, B::AbstractMatrix, result::RowColoringResult)
57-
color = row_colors(result)
58-
for i in axes(A, 1)
59-
c = color[i]
60-
for j in rowrange(A, i)
61-
A[i, j] = B[c, j]
62-
end
63-
end
64-
return A
65-
end
66-
6745
end

0 commit comments

Comments
 (0)