Skip to content

Commit

Permalink
Add TimeType to ScalarOb
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Jan 16, 2018
1 parent 32d29c2 commit 7cf8316
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 @@ -4,7 +4,7 @@ module OnlineStatsBase
using NamedTuples

#-----------------------------------------------------------------------# Data
const ScalarOb = Union{Number, AbstractString, Symbol} # 0
const ScalarOb = 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}
Expand Down

0 comments on commit 7cf8316

Please sign in to comment.