Skip to content

Commit d08ad0b

Browse files
committed
Wrong branch but right code (kind of)
1 parent 4c869c9 commit d08ad0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/algorithms/controllers/HashingInsertion.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ export default {
203203
+ rightarrow + "Expanding table..."});
204204
},
205205
[total]
206-
)
206+
);
207+
[table, indexArr, valueArr, nullArr] = expandAndReinsert(table, 1)
207208
}
208209
/*
209210
if (limit()) {
@@ -222,6 +223,7 @@ export default {
222223
*/
223224
// Chunker for when the table is not full
224225
// Proceed time:)
226+
/*
225227
else {
226228
chunker.add(
227229
IBookmarks.CheckTableFull,
@@ -232,6 +234,7 @@ export default {
232234
[total]
233235
)
234236
}
237+
*/
235238

236239
insertions++; // Increment insertions
237240
total++; // Increment total

0 commit comments

Comments
 (0)