Skip to content

Commit 01f55e5

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

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
@@ -432,7 +432,7 @@ See also: [`beta_inc`](@ref)
432432
`FPSER(A,B,X,EPS)` from Didonato and Morris (1982)
433433
"""
434434
function beta_inc_power_series2(a::Float64, b::Float64, x::Float64, epps::Float64)
435-
@assert b < eps(Float64)*min(1.0, a)
435+
@assert b < epps*min(1.0, a)
436436
@assert x <= 0.5
437437
ans = 1.0
438438
if a > 1.0e-3 * epps

0 commit comments

Comments
 (0)