Skip to content

Commit f39517f

Browse files
committed
put inline back in
1 parent 59f5ac0 commit f39517f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/SpecialFunctionsChainRulesCoreExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ end
320320
# the auxiliary variable f, the continued-fraction coefficients a_n, b_n, and
321321
# their partial derivatives w.r.t. p (≡ a) and q (≡ b). See Boik & Robinson-Cox (1999).
322322

323-
function _Kfun(logx::T, log1mx::T, p::T, q::T, logbetapq::T) where {T}
323+
@inline function _Kfun(logx::T, log1mx::T, p::T, q::T, logbetapq::T) where {T}
324324
# K(x;p,q) = x^p (1-x)^{q-1} / (p * B(p,q)) computed in log-space for stability
325325
# logx = log(x), log1mx = log(1-x), precomputed
326326
return exp(p * logx + (q - 1) * log1mx - log(p) - logbetapq)

0 commit comments

Comments
 (0)