Skip to content

Commit ec2fcd2

Browse files
committed
Remove the field bicoloring in AdjacencyGraph
1 parent 5f313ef commit ec2fcd2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/graph.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ The adjacency graph of a symmetric matrix `A ∈ ℝ^{n × n}` is `G(A) = (V, E)
227227
struct AdjacencyGraph{T<:Integer,augmented_graph}
228228
S::SparsityPatternCSC{T}
229229
edge_to_index::Vector{T}
230-
bicoloring::Bool
231230
original_size::Tuple{Int,Int}
232231
end
233232

@@ -237,10 +236,9 @@ function AdjacencyGraph(
237236
S::SparsityPatternCSC{T},
238237
edge_to_index::Vector{T}=build_edge_to_index(S);
239238
augmented_graph::Bool=false,
240-
bicoloring::Bool=false,
241239
original_size::Tuple{Int,Int}=size(S),
242240
) where {T}
243-
return AdjacencyGraph{T,augmented_graph}(S, edge_to_index, bicoloring, original_size)
241+
return AdjacencyGraph{T,augmented_graph}(S, edge_to_index, original_size)
244242
end
245243

246244
function AdjacencyGraph(A::SparseMatrixCSC; augmented_graph::Bool=false, original_size::Tuple{Int,Int}=size(A))

0 commit comments

Comments
 (0)