Skip to content

Commit 97a5a8d

Browse files
committed
Final fixing of bugs
1 parent e34cde8 commit 97a5a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/bitmanipulation/BitwiseGCD.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
public final class BitwiseGCD {
2626

27-
private BitwiseGCD() {
27+
private BitwiseGCD() {
2828
}
2929

3030
/**
@@ -112,7 +112,7 @@ public static long gcd(long... values) {
112112
long result = values[0];
113113
for (int i = 1; i < values.length; i++) {
114114
result = gcd(result, values[i]);
115-
if (result == 1L) {
115+
if (result == 1L) {
116116
return 1L; // early exit
117117
}
118118
}

0 commit comments

Comments
 (0)