Skip to content

Commit

Permalink
bump patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Mar 17, 2020
1 parent b7413b9 commit f25af9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "OnlineStatsBase"
uuid = "925886fa-5bf2-5e8e-b522-a9147a512338"
version = "1.2.2"
version = "1.2.3"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
5 changes: 2 additions & 3 deletions src/part.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Base.merge!(a::Domain, b::Domain, astat, bstat) = merge!(a, b)
# - Base.isless

#-----------------------------------------------------------------------------# Centroid
mutable struct Centroid{T}
mutable struct Centroid{T} <: Domain
center::T
end

Expand All @@ -55,7 +55,7 @@ function Base.merge!(a::Centroid, b::Centroid, astat, bstat)
end

#-----------------------------------------------------------------------------# ClosedInterval
mutable struct ClosedInterval{T}
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")
Expand All @@ -68,4 +68,3 @@ function Base.merge!(a::ClosedInterval, b::ClosedInterval, astat, bstat)
a.last = max(a.last, b.last)
a
end
Base.merge!(a::ClosedInterval, b::ClosedInterval) = merge!(a, b, nothing, nothing)

2 comments on commit f25af9a

@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 created: 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>" f25af9a2978433f176f4276a1ab05cd9fe6d0932
git push origin v1.2.3

Please sign in to comment.