diff --git a/Week9/Assignment9/src/ArrayUtility.java b/Week9/Assignment9/src/ArrayUtility.java index 1964a52..2537b80 100644 --- a/Week9/Assignment9/src/ArrayUtility.java +++ b/Week9/Assignment9/src/ArrayUtility.java @@ -34,7 +34,7 @@ public class ArrayUtility { if(n<=0) return new int[0][0]; //Return to prevent ArithmeticException: / by zero and negative array index if (d.length%n!=0)return new int[0][0]; //Return, empty array, array can't be split into n equal parts int[][] splittedArray = new int[n][d.length/n]; //Create the splitted_array array and initialize it - for(int i = 0;i < n;i++)for(int j = 0;j