Skip to content

Commit 4f26a6a

Browse files
authored
Remove forest from the TreeSet (#170)
1 parent 9d1889e commit 4f26a6a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/coloring.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,6 @@ Encode a set of 2-colored trees resulting from the [`acyclic_coloring`](@ref) al
411411
$TYPEDFIELDS
412412
"""
413413
struct TreeSet
414-
"a forest of two-colored trees"
415-
forest::DisjointSets{Tuple{Int,Int}}
416414
vertices_by_tree::Vector{Vector{Int}}
417415
reverse_bfs_orders::Vector{Vector{Tuple{Int,Int}}}
418416
end
@@ -523,7 +521,7 @@ function TreeSet(forest::DisjointSets{Tuple{Int,Int}}, nvertices::Int)
523521
end
524522
end
525523

526-
return TreeSet(forest, vertices_by_tree, reverse_bfs_orders)
524+
return TreeSet(vertices_by_tree, reverse_bfs_orders)
527525
end
528526

529527
## Postprocessing, mirrors decompression code

0 commit comments

Comments
 (0)