We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ab1091 + 6f96d4f commit 29f60b3Copy full SHA for 29f60b3
src/endpoint.jl
@@ -43,8 +43,9 @@ Visualizing two touching intervals can assist in understanding this logic:
43
[x..y](y..z] -> RightEndpoint != LeftEndpoint
44
[x..y)(y..z] -> RightEndpoint != LeftEndpoint
45
"""
46
-Base.:(==)(a::Endpoint, b::Endpoint)
47
-
+function Base.:(==)(a::Endpoint, b::Endpoint)
+ a.endpoint == b.endpoint && a.included == b.included
48
+end
49
50
function Base.:(==)(a::LeftEndpoint{T}, b::RightEndpoint{T}) where T
51
a.endpoint == b.endpoint && a.included && b.included
0 commit comments