Small bug fix
authornvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Thu, 16 Apr 2009 12:42:07 +0000 (12:42 +0000)
committernvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Thu, 16 Apr 2009 12:42:07 +0000 (12:42 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@322 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

libcds/src/static_sequence/static_sequence_wvtree_noptrs.cpp

index 99e0c6a..c1c114b 100644 (file)
@@ -241,7 +241,7 @@ void static_sequence_wvtree_noptrs::access(vector<int> &result, uint i, uint j,
 vector<int> static_sequence_wvtree_noptrs::accessAll(uint i, uint j)
 {
     vector<int> resultSet;
-    if (j > i)
+    if (j < i)
         return resultSet;
 
     resultSet.reserve(j-i+1);