Skip to content

Commit 0d5e732

Browse files
committed
Update the function compress for matrices of Bool
1 parent 1243386 commit 0d5e732

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/decompression.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ end
7979
function compress(
8080
A, result::AbstractColoringResult{structure,:bidirectional}
8181
) where {structure}
82+
TA = eltype(A)
83+
T = TA == Bool ? Int : TA
8284
row_group = row_groups(result)
8385
column_group = column_groups(result)
8486
if isempty(row_group)

0 commit comments

Comments
 (0)