We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e34cde8 commit 97a5a8dCopy full SHA for 97a5a8d
src/main/java/com/thealgorithms/bitmanipulation/BitwiseGCD.java
@@ -24,7 +24,7 @@
24
*/
25
public final class BitwiseGCD {
26
27
- private BitwiseGCD() {
+ private BitwiseGCD() {
28
}
29
30
/**
@@ -112,7 +112,7 @@ public static long gcd(long... values) {
112
long result = values[0];
113
for (int i = 1; i < values.length; i++) {
114
result = gcd(result, values[i]);
115
- if (result == 1L) {
+ if (result == 1L) {
116
return 1L; // early exit
117
118
0 commit comments