bugfix PackedList for non-optimized compilation
- use shift-right instead of shift-left formulation to avoid wrong behaviour with non-optimized compilation when the packed items fit exactly in the available number of bits.
Showing
- applications/test/PackedList/Make/options 7 additions, 0 deletionsapplications/test/PackedList/Make/options
- applications/test/PackedList/PackedListTest.C 83 additions, 5 deletionsapplications/test/PackedList/PackedListTest.C
- src/OpenFOAM/containers/Lists/PackedList/PackedList.C 11 additions, 15 deletionssrc/OpenFOAM/containers/Lists/PackedList/PackedList.C
- src/OpenFOAM/containers/Lists/PackedList/PackedListI.H 7 additions, 4 deletionssrc/OpenFOAM/containers/Lists/PackedList/PackedListI.H
Please register or sign in to comment