Skip to content

Commit

Permalink
Improved equality of partitioned graph check
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Dec 18, 2023
1 parent 2c7d174 commit e69ddb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ end

function (pg1::AbstractPartitionedGraph == pg2::AbstractPartitionedGraph)
if unpartitioned_graph(pg1) != unpartitioned_graph(pg2) ||
!issetequal(vertices(pg1), vertices(pg2))
partitioned_graph(pg1) != partitioned_graph(pg2)
return false
end

Expand Down

0 comments on commit e69ddb8

Please sign in to comment.