Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 committed Oct 11, 2024
1 parent 0f0fd31 commit fa2b48c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EpiAware/src/EpiAwareUtils/SafeInt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ with the `eltype` function when having `rand` calls in the model.
"""
struct SafeIntValued <: Distributions.ValueSupport end
function Base.eltype(::Type{<:Distributions.Sampleable{F, SafeIntValued}}) where {F}
Union{Int, BigInt}
SafeInt
end

"""
A constant alias for `Distribution{Univariate, RealValued}`. This type represents a univariate distribution with real-valued outcomes.
A constant alias for `Distribution{Univariate, SafeIntValued}`. This type represents a univariate distribution with real-valued outcomes.
"""
const SafeDiscreteUnivariateDistribution = Distributions.Distribution{
Distributions.Univariate, SafeIntValued}

0 comments on commit fa2b48c

Please sign in to comment.