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

issubset is wrong for empty ranges #35225

Closed
yha opened this issue Mar 23, 2020 · 0 comments
Closed

issubset is wrong for empty ranges #35225

yha opened this issue Mar 23, 2020 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior collections Data structures holding multiple items, e.g. sets good first issue Indicates a good issue for first-time contributors to Julia help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@yha
Copy link
Contributor

yha commented Mar 23, 2020

In Julia 1.4.0,

julia> issubset(2:1,3:4)
false

although of course

julia> issubset(collect(2:1),collect(3:4))
true
@StefanKarpinski StefanKarpinski added bug Indicates an unexpected problem or unintended behavior help wanted Indicates that a maintainer wants help on an issue or pull request good first issue Indicates a good issue for first-time contributors to Julia labels Mar 23, 2020
rfourquet added a commit that referenced this issue Mar 24, 2020
@rfourquet rfourquet added the collections Data structures holding multiple items, e.g. sets label Mar 24, 2020
rfourquet added a commit that referenced this issue Mar 24, 2020
KristofferC pushed a commit that referenced this issue Apr 4, 2020
oxinabox pushed a commit to oxinabox/julia that referenced this issue Apr 8, 2020
ravibitsgoa pushed a commit to ravibitsgoa/julia that referenced this issue Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior collections Data structures holding multiple items, e.g. sets good first issue Indicates a good issue for first-time contributors to Julia help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants