Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setdiff works diffrerently for Set{Int} and IntSet #3401

Closed
sbos opened this issue Jun 15, 2013 · 0 comments
Closed

setdiff works diffrerently for Set{Int} and IntSet #3401

sbos opened this issue Jun 15, 2013 · 0 comments

Comments

@sbos
Copy link
Contributor

sbos commented Jun 15, 2013

julia> setdiff(IntSet(1,2,3), IntSet(2,3,4))
ERROR: key not found: 4
 in delete! at intset.jl:70
 in setdiff! at intset.jl:77
 in setdiff at intset.jl:82

julia> setdiff(Set(1,2,3), Set(3,4,5))
Set{Int64}(2,1)

I guess IntSet's behavior is incorrect here

StefanKarpinski added a commit that referenced this issue Jun 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant