projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Buffer size can be defined
[SXSI/TextCollection.git]
/
bittree.cpp
diff --git
a/bittree.cpp
b/bittree.cpp
index
0003461
..
7ee044c
100644
(file)
--- 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);