Skip to content

Commit

Permalink
Remove a type restriction in Base.QuadGK.Segment (JuliaLang#19626)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkeller34 committed Dec 16, 2016
1 parent b730db2 commit 6048e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/quadgk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ immutable Segment
a::Number
b::Number
I
E::Real
E
end
isless(i::Segment, j::Segment) = isless(i.E, j.E)

Expand Down

0 comments on commit 6048e50

Please sign in to comment.