projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added LessThan() implementation
[SXSI/TextCollection.git]
/
BlockArray.h
diff --git
a/BlockArray.h
b/BlockArray.h
index
99aff91
..
3671d08
100644
(file)
--- a/
BlockArray.h
+++ b/
BlockArray.h
@@
-16,6
+16,8
@@
public:
n = len;
blockLength = blockLen;
data = new ulong[n*blockLength/W +1];
+ for (ulong i = 0; i < n*blockLength/W +1; ++i)
+ data[i] = 0;
}
~BlockArray() {
delete [] data;