X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=bittree.cpp;h=7ee044ce87cbda86aa33103f3349e3a99a2d7a5a;hb=2ef4bfdbeaec400a635aab8b3083253361cd9fc3;hp=0003461b0371537af3a77b75faf2135ec64a8644;hpb=7d27a4450ed429e3b63e9d3ba7217a28cbbf9a31;p=SXSI%2FTextCollection.git diff --git a/bittree.cpp b/bittree.cpp index 0003461..7ee044c 100644 --- a/bittree.cpp +++ b/bittree.cpp @@ -709,7 +709,7 @@ ulong* BVTree::getBits(){ ulong blockCounter=0; ulong len = getPositions(); - int W = sizeof(ulong)*8; +// int W = sizeof(ulong)*8; ulong bitsLength = len/W + ((len%W==0)?0:1);