Skip to content

Commit fe59382

Browse files
committed
fix incorrect eltype
1 parent 8b8f6c5 commit fe59382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/distributions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
abstract type Distribution{T} end
77

8-
Base.eltype(::Type{Distribution{T}}) where {T} = T
8+
Base.eltype(::Type{<:Distribution{T}}) where {T} = T
99

1010
abstract type Combine{T} <: Distribution{T} end
1111

0 commit comments

Comments
 (0)