projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small bug fix
[SXSI/XMLTree.git]
/
libcds
/
src
/
static_sequence
/
static_sequence_wvtree.cpp
diff --git
a/libcds/src/static_sequence/static_sequence_wvtree.cpp
b/libcds/src/static_sequence/static_sequence_wvtree.cpp
index
1f6bb40
..
ceeb732
100644
(file)
--- a/
libcds/src/static_sequence/static_sequence_wvtree.cpp
+++ b/
libcds/src/static_sequence/static_sequence_wvtree.cpp
@@
-98,7
+98,7
@@
vector<int> static_sequence_wvtree::access(uint i, uint j, uint min, uint max)
vector<int> static_sequence_wvtree::accessAll(uint i, uint j)
{
vector<int> resultSet;
- if (j
>
i)
+ if (j
<
i)
return resultSet;
resultSet.reserve(j-i+1);