Skip to content

Commit 226b28a

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/beta_inc.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ Compute stirling(a0) + stirling(b0) - stirling(a0 + b0)
5050
for a0, b0 >= 8
5151
"""
5252
function stirling_corr(a0::Float64, b0::Float64)
53-
@assert a0 >= 0
54-
@assert b0 >= 0
5553
a = min(a0, b0)
5654
b = max(a0, b0)
55+
@assert a >= 8
5756

5857
h = a/b
5958
c = h/(1.0 + h)

0 commit comments

Comments
 (0)