Skip to content

Commit dbd8397

Browse files
committed
fix: animation not showing
1 parent ca6f8a2 commit dbd8397

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/algorithms/controllers/HashingInsertion.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default {
138138
total++; // Increment total
139139

140140
// Get initial hash index for current key
141-
let i = hash1(chunker, IBookmarks.Hash1, key, table.length);
141+
let i = hash1(chunker, IBookmarks.Hash1, key, table.length, true);
142142

143143
// Calculate increment for current key
144144
let increment = setIncrement(
@@ -147,7 +147,8 @@ export default {
147147
key,
148148
table.length,
149149
ALGORITHM_NAME,
150-
HASH_TYPE.Insert
150+
HASH_TYPE.Insert,
151+
true
151152
);
152153

153154
// Chunker for first pending slot

0 commit comments

Comments
 (0)