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]
/
dcover
/
bwt.hpp
diff --git
a/dcover/bwt.hpp
b/dcover/bwt.hpp
index
b717226
..
800d8d7
100644
(file)
--- a/
dcover/bwt.hpp
+++ b/
dcover/bwt.hpp
@@
-294,7
+294,7
@@
compute_bwt (StringIterator str, StringIterator str_end,
if (left_pivot >= 0 && right_pivot < (postype)pivots.size()) {
#if __WORDSIZE == 32
lcp = suffix_lcp(str+pivots[left_pivot], str+pivots[right_pivot],
if (left_pivot >= 0 && right_pivot < (postype)pivots.size()) {
#if __WORDSIZE == 32
lcp = suffix_lcp(str+pivots[left_pivot], str+pivots[right_pivot],
- str_end, 0, dcsampler.period()-1);
+ str_end, 0
l
, dcsampler.period()-1);
#else
lcp = suffix_lcp(str+pivots[left_pivot], str+pivots[right_pivot],
str_end, 0l, dcsampler.period()-1);
#else
lcp = suffix_lcp(str+pivots[left_pivot], str+pivots[right_pivot],
str_end, 0l, dcsampler.period()-1);