We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b8f6c5 commit fe59382Copy full SHA for fe59382
1 file changed
src/distributions.jl
@@ -5,7 +5,7 @@
5
6
abstract type Distribution{T} end
7
8
-Base.eltype(::Type{Distribution{T}}) where {T} = T
+Base.eltype(::Type{<:Distribution{T}}) where {T} = T
9
10
abstract type Combine{T} <: Distribution{T} end
11
0 commit comments