Closed
Description
The intersection of a BitvSet with an empty (returned from BitvSet::new()) set is incorrect, as it will return the original set. However, if the arguments are reversed (an empty BitvSet calls intersect_with with some set as a parameter), the correct result is returned.
Additionally, if the set returned by new is modified (e.g. add and remove a value), the correct result will be returned.
Examples:
http://is.gd/Aksaz6
http://is.gd/6zTo9R
Metadata
Metadata
Assignees
Labels
No labels