Skip to content

Commit

Permalink
remove type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Feb 18, 2018
1 parent 0e57802 commit 6ccad24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OnlineStatsBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Base.copy(o::OnlineStat) = deepcopy(o)
function Base.merge!(o::OnlineStat, o2::OnlineStat, γ)
warn("Merging not well-defined for $(typeof(o)). No merging occurred.")
end
Base.merge(o::OnlineStat, o2::OnlineStat, γ::Number) = merge!(copy(o), o2, γ)
Base.merge(o::OnlineStat, o2::OnlineStat, γ) = merge!(copy(o), o2, γ)


#-----------------------------------------------------------------------# Weight
Expand Down

0 comments on commit 6ccad24

Please sign in to comment.