Skip to content

Commit

Permalink
Update src/gamma_inc.jl
Browse files Browse the repository at this point in the history
Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
andreasnoack and devmotion authored May 12, 2021
1 parent fe3a5d5 commit 7104036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamma_inc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ function _gamma_inc_inv(a::Float64, p::Float64, q::Float64)

px, qx = gamma_inc(a, x, 0)

ck1 = pcase ? -r*(px - p) : r*(qx - q)
ck1 = pcase ? -r*(px - p) : r*(qx - q)
if a > 0.05
ck2 = (x - a + 1.0)/(2.0*x)

Expand Down

0 comments on commit 7104036

Please sign in to comment.