-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
breakingThis change will break codeThis change will break codehelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request
Milestone
Description
This is how Dicts work, so there's a case to me made. Came up in this discussion:
https://groups.google.com/forum/#!topic/julia-users/XZDm57yHc5M
Motivating examples:
julia> NaN in [1,1.5,2,NaN]
false
julia> NaN in Set([1,1.5,2,NaN])
true
julia> NaN in keys(Dict(1=>"one", 1.5=>"one and a half", 2=>"two", NaN=>"not a number"))
trueIt seems like in for arrays is the one that's out of line here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codehelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request