Skip to content

Commit b6d5d6d

Browse files
Update test/beta_inc.jl
Co-authored-by: David Widmann <[email protected]>
1 parent 4a705d2 commit b6d5d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/beta_inc.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
@testset "a=1.7, b=10.5, x=$x" for (x, val) in zip(0.01:0.01:0.99, ans5)
2222
@test beta_inc(1.7, 10.5, x, 1.0 - x)[1] val # scipy.special.betainc(1.7,10.5,x)
2323
end
24-
@testset "a=100.5, b=100.5, x=$x" for (ctr, x) in enumerate(0.01:0.01:0.99)
25-
@test beta_inc(100.5, 100.5, x, 1.0 - x)[1] ans6[ctr]#scipy.special.betainc(100.5,100.5,x)
24+
@testset "a=100.5, b=100.5, x=$x" for (x, val) in zip(0.01:0.01:0.99, ans6)
25+
@test beta_inc(100.5, 100.5, x, 1.0 - x)[1] val # scipy.special.betainc(100.5,100.5,x)
2626
end
2727
@test beta_inc(1.5,200.5,0.07,0.93)[1] 0.99999790408564
2828
@test SpecialFunctions.loggammadiv(13.89, 21.0001) log(gamma(big(21.0001))/gamma(big(21.0001)+big(13.89)))

0 commit comments

Comments
 (0)