File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ this can be significant savings.
93
93
The API for computing the color vector is:
94
94
95
95
``` julia
96
- matrix_colors (A:: AbstractMatrix ,alg:: ColoringAlgorithm = GreedyD1Color (); partition_by_rows = false )
96
+ matrix_colors (A:: AbstractMatrix ,alg:: ColoringAlgorithm = GreedyD1Color (); partition_by_rows:: Bool = false )
97
97
```
98
98
99
99
The first argument is the abstract matrix which represents the sparsity pattern
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ struct ContractionColor <: ColoringAlgorithm end
11
11
The coloring defaults to a greedy distance-1 coloring.
12
12
13
13
"""
14
- function matrix_colors (A:: AbstractMatrix ,alg:: ColoringAlgorithm = GreedyD1Color (); partition_by_rows = false )
14
+ function matrix_colors (A:: AbstractMatrix ,alg:: ColoringAlgorithm = GreedyD1Color (); partition_by_rows:: Bool = false )
15
15
_A = A isa SparseMatrixCSC ? A : sparse (A) # Avoid the copy
16
16
A_graph = matrix2graph (_A, partition_by_rows)
17
17
color_graph (A_graph,alg)
You can’t perform that action at this time.
0 commit comments