projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added RLCSA index option
[SXSI/TextCollection.git]
/
FMIndexBuilder.cpp
diff --git
a/FMIndexBuilder.cpp
b/FMIndexBuilder.cpp
index
ea52224
..
0adffac
100644
(file)
--- a/
FMIndexBuilder.cpp
+++ b/
FMIndexBuilder.cpp
@@
-131,7
+131,7
@@
TextCollection * FMIndexBuilder::InitTextCollection(char type)
}
p_->notIndexed->setBit(p_->numberOfTexts); // FIXME CSA::DeltaVector can not be all 0's
}
p_->notIndexed->setBit(p_->numberOfTexts); // FIXME CSA::DeltaVector can not be all 0's
- CSA::DeltaVector deltav
= CSA::DeltaVector
(*p_->notIndexed, p_->numberOfTexts+1);
+ CSA::DeltaVector deltav(*p_->notIndexed, p_->numberOfTexts+1);
delete p_->notIndexed;
p_->notIndexed = 0;
delete p_->notIndexed;
p_->notIndexed = 0;