There was an error fetching the commit references. Please try again later.
COMP: hash-table size overflow with 64-bit labels (fixes #498)
- Requires (1L << N) instead of (1 << N), otherwise it overflows and the result is zero.
Showing
- applications/test/pTraits/Test-pTraits.C 6 additions, 6 deletionsapplications/test/pTraits/Test-pTraits.C
- src/OpenFOAM/containers/HashTables/HashTable/HashTableCore.C 2 additions, 3 deletionssrc/OpenFOAM/containers/HashTables/HashTable/HashTableCore.C
- src/OpenFOAM/containers/HashTables/StaticHashTable/StaticHashTableCore.C 2 additions, 2 deletions...ntainers/HashTables/StaticHashTable/StaticHashTableCore.C
Please register or sign in to comment