writeToArray() bugfix
This commit is contained in:
@@ -58,8 +58,8 @@ abstract class Sorter {
|
||||
* @param index the index to be written to
|
||||
* @param value the value to write
|
||||
*/
|
||||
void writeToArray(int[] array, int index, int value){
|
||||
array[index]==value;
|
||||
void writeToArray(Integer[] array, int index, int value){
|
||||
array[index]=value;
|
||||
writesUsed++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user