Skip to content

Commit

Permalink
remove Data alias
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Jan 22, 2018
1 parent fb29895 commit 57f1883
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/OnlineStatsBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ module OnlineStatsBase
using NamedTuples

#-----------------------------------------------------------------------# Data
const ScalarOb = Any #Union{Number, AbstractString, Symbol, Dates.TimeType} # 0
const VectorOb = Union{AbstractVector, Tuple, NamedTuple} # 1
const XyOb = Tuple{VectorOb, ScalarOb} # (1, 0)
const Data = Union{ScalarOb, VectorOb, AbstractMatrix, XyOb}
const XyOb = Tuple{VectorOb, Any} # (1, 0)

#-----------------------------------------------------------------------# OnlineStat
abstract type OnlineStat{N} end
Expand Down

0 comments on commit 57f1883

Please sign in to comment.