Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72856 - sandbox/bloom_filter/trunk/boost/bloom_filter
From: cpp.cabrera_at_[hidden]
Date: 2011-07-02 10:58:46


Author: alejandro
Date: 2011-07-02 10:58:46 EDT (Sat, 02 Jul 2011)
New Revision: 72856
URL: http://svn.boost.org/trac/boost/changeset/72856

Log:
Corrected an error: sizeof(Block) * 4 -> sizeof(Block) * 8.
Text files modified:
   sandbox/bloom_filter/trunk/boost/bloom_filter/counting_bloom.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/bloom_filter/trunk/boost/bloom_filter/counting_bloom.hpp
==============================================================================
--- sandbox/bloom_filter/trunk/boost/bloom_filter/counting_bloom.hpp (original)
+++ sandbox/bloom_filter/trunk/boost/bloom_filter/counting_bloom.hpp 2011-07-02 10:58:46 EDT (Sat, 02 Jul 2011)
@@ -48,7 +48,7 @@
 
       // a slot is one element position in the array
       // a bin is a segment of a slot
- static const size_t slot_bits = sizeof(Block) * 4;
+ static const size_t slot_bits = sizeof(Block) * 8;
       static const size_t bins_per_slot = slot_bits / BitsPerBin;
       static const size_t array_size = bins_per_slot * NumBins + 1;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk