From 7cf8316b9153fef1df04b8818813188e4e7baf4d Mon Sep 17 00:00:00 2001 From: Josh Day Date: Tue, 16 Jan 2018 12:21:29 -0500 Subject: [PATCH] Add TimeType to ScalarOb --- src/OnlineStatsBase.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OnlineStatsBase.jl b/src/OnlineStatsBase.jl index 67e9ad7..c1fc99e 100644 --- a/src/OnlineStatsBase.jl +++ b/src/OnlineStatsBase.jl @@ -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}