Skip to content

Commit e35b317

Browse files
author
volimroze
committed
Tried to fix build and clang
1 parent 1ea49fa commit e35b317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/datastructures/graphs/EdmondsAlgorithm.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static class Edge {
2323
public static int maxWeightMatching(List<Edge> edges, int n) {
2424
// The number of nodes in the graph
2525
int[] match = new int[n];
26-
Arrays.fill(match, -1); // no match
26+
Arrays.fill(match, -1); // no match
2727

2828
// Perform the algorithm
2929
int result = 0;
@@ -66,7 +66,7 @@ public static void main(String[] args) {
6666
edges.add(new Edge(2, 3, 25));
6767
edges.add(new Edge(3, 4, 30));
6868

69-
int n = 5; // Number of vertices
69+
int n = 5; // Number of vertices
7070

7171
System.out.println("Maximum weight matching: " + maxWeightMatching(edges, n));
7272
}

0 commit comments

Comments
 (0)