Skip to content

Commit 21b2cad

Browse files
authored
Warn that single-color decompression is for direct coloring only (#87)
1 parent 0d1584e commit 21b2cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decompression.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function decompress! end
191191
result::AbstractColoringResult, [uplo=:F]
192192
)
193193
194-
Decompress the vector `b` corresponding to color `c` in-place into `A`, given a coloring `result` of the sparsity pattern of `A`.
194+
Decompress the vector `b` corresponding to color `c` in-place into `A`, given a `:direct` coloring `result` of the sparsity pattern of `A` (it will not work with a `:substitution` coloring).
195195
196196
- If `result` comes from a `:nonsymmetric` structure with `:column` partition, this will update the columns of `A` that share color `c` (whose sum makes up `b`).
197197
- If `result` comes from a `:nonsymmetric` structure with `:row` partition, this will update the rows of `A` that share color `c` (whose sum makes up `b`).

0 commit comments

Comments
 (0)