Fix an apparent snafu in set_test.

It looks like a bit of case&paste where I forgot to change != to &.
This commit is contained in:
Bill Currie 2012-10-30 21:54:56 +09:00
parent 1fead50f4e
commit 4cc8d4a04b

View file

@ -186,7 +186,7 @@ set_test (const set_t *s1, const set_t *s2)
end = min (s1->size, s2->size) / BITS;
for (i = 0; i < end; i++) {
if (s1->map[i] != s2->map[i]) {
if (s1->map[i] != s2->map[i])
if (s1->map[i] & s2->map[i])
return set_intersecting;
else
rval = set_disjoint;