writeToArray() bugfix

This commit is contained in:
2020-06-05 13:19:51 -05:00
parent 6364af3947
commit 3bb022d745

View File

@@ -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++;
}