Bug fixes for rankLessThan()
[SXSI/XMLTree.git] / libcds / src / static_sequence / static_sequence_wvtree.cpp
index ceeb732..b4a6298 100644 (file)
@@ -66,7 +66,7 @@ uint static_sequence_wvtree::rank(uint symbol, uint pos) {
 uint static_sequence_wvtree::rankLessThan(uint &symbol, uint pos) {
     uint s = am->map(symbol);
 //    std::cout << "lessthan..." << std::endl;
-    uint r = root->rankLessThan(s, pos, 0, c);
+    uint r = root->rankLessThan(s, pos);
     symbol = am->unmap(s);
     return r;
 }