Skip to content

Commit 7bcfd01

Browse files
Update src/beta_inc.jl
Co-authored-by: David Widmann <[email protected]>
1 parent 01f55e5 commit 7bcfd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/beta_inc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ See also: [`beta_inc`](@ref)
476476
`APSER(A,B,X,EPS)` from Didonato and Morris (1982)
477477
"""
478478
function beta_inc_power_series1(a::Float64, b::Float64, x::Float64, epps::Float64)
479-
@assert a <= eps(Float64)*min(1.0, b)
479+
@assert a <= epps*min(1.0, b)
480480
@assert b*x <= 1
481481
@assert x <= 0.5
482482
g = Base.MathConstants.eulergamma

0 commit comments

Comments
 (0)