Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Mar 17, 2020
1 parent e46d9a9 commit b7cf5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/part.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end
mutable struct ClosedInterval{T} <: Domain
first::T
last::T
ClosedInterval(a::T, b::T) where {T} = a < b ? new{T}(a,b) : error("Arguments must be ordered")
ClosedInterval(a::T, b::T) where {T} = a b ? new{T}(a,b) : error("Arguments must be ordered")
end
Base.show(io::IO, b::ClosedInterval) = print(io, "ClosedInterval: [$(b.first), $(b.last)]")
Base.in(x, bucket::ClosedInterval) = bucket.first x bucket.last
Expand Down

2 comments on commit b7cf5a6

@joshday
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/11082

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v1.2.3 -m "<description of version>" b7cf5a60b5b4993af946558b84cd8a49169381e1
git push origin v1.2.3

Please sign in to comment.