Added RLCSA index option
[SXSI/TextCollection.git] / FMIndexBuilder.cpp
index ea52224..0adffac 100644 (file)
@@ -131,7 +131,7 @@ TextCollection * FMIndexBuilder::InitTextCollection(char type)
     }
 
     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;