Skip to content

Commit

Permalink
Merge pull request #11929 from waldyrious/patch-1
Browse files Browse the repository at this point in the history
Fix typo & attempt at more explicit comment
  • Loading branch information
StefanKarpinski committed Jun 29, 2015
2 parents fe4e552 + 9a4a607 commit 1544e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/irrationals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
=={s}(::Irrational{s}, ::Irrational{s}) = true
==(::Irrational, ::Irrational) = false

# Irationals are not rational, so unequal to everything else
# Irrationals, by definition, can't have a finite representation equal them exactly
==(x::Irrational, y::Real) = false
==(x::Real, y::Irrational) = false

Expand Down

0 comments on commit 1544e4e

Please sign in to comment.