Typo
This commit is contained in:
parent
953d685ea1
commit
acba31c333
1 changed files with 2 additions and 2 deletions
|
@ -379,9 +379,9 @@ impl<T: Idx> BitRelations<HybridBitSet<T>> for HybridBitSet<T> {
|
||||||
fn union(&mut self, other: &HybridBitSet<T>) -> bool {
|
fn union(&mut self, other: &HybridBitSet<T>) -> bool {
|
||||||
assert_eq!(self.domain_size(), other.domain_size());
|
assert_eq!(self.domain_size(), other.domain_size());
|
||||||
match self {
|
match self {
|
||||||
HybridBitSet::Sparse(self_sparse) => {
|
HybridBitSet::Sparse(_) => {
|
||||||
match other {
|
match other {
|
||||||
HybridBitSet::Sparse(_) => {
|
HybridBitSet::Sparse(other_sparse) => {
|
||||||
// Both sets are sparse. Add the elements in
|
// Both sets are sparse. Add the elements in
|
||||||
// `other_sparse` to `self` one at a time. This
|
// `other_sparse` to `self` one at a time. This
|
||||||
// may or may not cause `self` to be densified.
|
// may or may not cause `self` to be densified.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue