Skip to content

Commit e7679e7

Browse files
committed
style(graph): split multiple variable declarations to satisfy Checkstyle
1 parent b86d74b commit e7679e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/thealgorithms/graph/HungarianAlgorithm.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ public static Result solve(int[][] cost) {
7373
Arrays.fill(used, false);
7474
do {
7575
used[j0] = true;
76-
int i0 = p[j0], delta = Integer.MAX_VALUE, j1 = 0;
76+
int i0 = p[j0];
77+
int delta = Integer.MAX_VALUE;
78+
int j1 = 0;
7779
for (int j = 1; j <= n; j++) {
7880
if (!used[j]) {
7981
int cur = a[i0 - 1][j - 1] - u[i0] - v[j];

0 commit comments

Comments
 (0)