Skip to content

Commit e471ca3

Browse files
committed
fixed bug in and and or of CompositeSet
1 parent 4a3fd8e commit e471ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/composite_set.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class CompositeSet extends BitSet {
7878
int j = 0;
7979
while (i < chunks.length && j < set.chunks.length) {
8080
final a = chunks[i];
81-
final b = chunks[j];
81+
final b = set.chunks[j];
8282
if (a.offset < b.offset) {
8383
a._set = emptyBitSet;
8484
i++;
@@ -104,7 +104,7 @@ class CompositeSet extends BitSet {
104104
int j = 0;
105105
while (i < chunks.length && j < set.chunks.length) {
106106
final a = chunks[i];
107-
final b = chunks[j];
107+
final b = set.chunks[j];
108108
if (a.offset < b.offset) {
109109
i++;
110110
} else if (a.offset > b.offset) {

0 commit comments

Comments
 (0)