Skip to content

Commit 95cf4c4

Browse files
femtocleaner[bot]ararslan
authored andcommitted
Fix deprecations (#111)
* Fix deprecations * Remove superfluous comment left over by FemtoCleaner
1 parent dd77289 commit 95cf4c4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/gamma.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,6 @@ function polygamma(m::Integer, z::Number)
540540
polygamma(m, x)
541541
end
542542

543-
@static if VERSION >= v"0.7.0-alpha.69"
544-
545543
export gamma, lgamma, beta, lbeta, lfactorial
546544

547545
## from base/special/gamma.jl
@@ -762,14 +760,6 @@ end
762760
factorial(x) = Base.factorial(x) # to make SpecialFunctions.factorial work unconditionally
763761
factorial(x::Number) = gamma(x + 1) # fallback for x not Integer
764762

765-
else # @static if
766-
767-
import Base: gamma, lgamma, beta, lbeta, lfact
768-
const lfactorial = lfact
769-
export lfactorial
770-
771-
end # @static if
772-
773763
"""
774764
lbinomial(n, k) = log(abs(binomial(n, k)))
775765

0 commit comments

Comments
 (0)