Skip to content

Commit f010a50

Browse files
Fix clang-format spacing in array declarations
1 parent 267d2ab commit f010a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/maths/ExtendedEuclideanAlgorithm.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private ExtendedEuclideanAlgorithm() {
3030
public static long[] extendedGCD(long a, long b) {
3131
if (b == 0) {
3232
// Base case: gcd(a, 0) = a. The equation is a*1 + 0*0 = a.
33-
return new long[] { a, 1, 0 };
33+
return new long[] {a, 1, 0};
3434
}
3535

3636
// Recursive call
@@ -43,6 +43,6 @@ public static long[] extendedGCD(long a, long b) {
4343
long x = y1;
4444
long y = x1 - a / b * y1;
4545

46-
return new long[] { gcd, x, y };
46+
return new long[] {gcd, x, y};
4747
}
4848
}

0 commit comments

Comments
 (0)