Match MxVariableTable::SetVariable to 100%

This commit is contained in:
Christian Semmler 2023-10-25 14:44:28 -04:00
parent 220ad5d537
commit 6b8dc8a0cc
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -180,10 +180,10 @@ inline void MxHashTable<T>::Resize()
switch (m_resizeOption) {
case HASH_TABLE_OPT_EXPAND_ADD:
m_numSlots = old_size + m_increaseAmount;
m_numSlots += m_increaseAmount;
break;
case HASH_TABLE_OPT_EXPAND_MULTIPLY:
m_numSlots = old_size * m_increaseFactor;
m_numSlots *= m_increaseFactor;
break;
}