New (faster) representation for tags added; faster construction of parentheses
[SXSI/XMLTree.git] / libcds / src / static_sequence / wt_coder_binary.cpp
index cdbac13..f8cc209 100644 (file)
@@ -38,7 +38,7 @@ bool wt_coder_binary::is_set(uint symbol, uint l) {
 }
 
 bool wt_coder_binary::done(uint symbol, uint l) {
-       if(l==h-1) return true;
+       if(l==h) return true;
        return false;
 }