Skip to content

Commit

Permalink
compilation issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorWiecz committed May 17, 2024
1 parent fb2028e commit f470bc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static Graph disjointUnion(Graph g1, Graph g2) {
ArrayList<String> newVertices = new ArrayList<>();
newVertices.addAll(g1.getVertices());
newVertices.addAll(g2.getVertices());
return new Graph(newEdges, newVertices, null);
return new Graph(newEdges, newVertices);
}

public static Graph join(Graph g1, Graph g2) {
Expand Down

0 comments on commit f470bc6

Please sign in to comment.