Skip to content

Commit 6ac38a6

Browse files
committed
Added compatibility with Java 6
1 parent 1ef857b commit 6ac38a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/jwetherell/algorithms/mathematics/Multiplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static String multiplyUsingFFT(String a, String b) {
9898
}
9999
FFT.FFT(aCoefficients);
100100

101-
ArrayList<Integer> res = new ArrayList<>();
101+
ArrayList<Integer> res = new ArrayList<Integer>();
102102
int pass = 0;
103103
for(int i = 0; i<size; i++){
104104
res.add((int) (pass + Math.floor( (aCoefficients[i].abs() + 1) / size) ) );

0 commit comments

Comments
 (0)