diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-17 21:11:27 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-17 21:11:27 -0600 |
commit | 55ef5612f8950bd042ffd6d001908845a4321f8e (patch) | |
tree | 8c1738928c542d74bfbcd7cc1c4949c8b92ffae7 /src/packedintarray.cpp | |
parent | 2bd38e44ba6eeab1f8ba7d25024a769c6df67452 (diff) | |
download | clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.gz clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.bz2 clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.xz clic-55ef5612f8950bd042ffd6d001908845a4321f8e.zip |
Now you can multiply fractional numbers.
Diffstat (limited to 'src/packedintarray.cpp')
-rw-r--r-- | src/packedintarray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packedintarray.cpp b/src/packedintarray.cpp index badc829..d395aa2 100644 --- a/src/packedintarray.cpp +++ b/src/packedintarray.cpp | |||
@@ -31,7 +31,7 @@ PackedIntArray::PackedIntArray( PackedIntArray::Unit iBitWidth ) : | |||
31 | PackedIntArray::PackedIntArray( PackedIntArray::Unit iBitWidth, int iCount ): | 31 | PackedIntArray::PackedIntArray( PackedIntArray::Unit iBitWidth, int iCount ): |
32 | iBitWidth( iBitWidth ), | 32 | iBitWidth( iBitWidth ), |
33 | aData( NULL ), | 33 | aData( NULL ), |
34 | iCapacity( bitsizeof(StoreCount(iCount))/iBitWidth ), | 34 | iCapacity( (StoreCount(iCount)*StoreBits)/iBitWidth ), |
35 | iCount( iCount ), | 35 | iCount( iCount ), |
36 | uMask( 0 ) | 36 | uMask( 0 ) |
37 | { | 37 | { |