Skip to content

Commit

Permalink
Remove special case for Julia < 1.2 (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Nov 25, 2021
1 parent 47214f8 commit 2ef6790
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/univariate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ function uniformlogpdf(a, b, x)
end
end

if VERSION < v"1.2"
Base.inv(::Irrational{:π}) = 1/π
end


## PoissonBinomial ##

struct TuringPoissonBinomial{T<:Real, TV1<:AbstractVector{T}, TV2<:AbstractVector} <: DiscreteUnivariateDistribution
Expand Down

0 comments on commit 2ef6790

Please sign in to comment.