Skip to content

Commit d5161e0

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/beta_inc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
@testset "a=0.5, b=0.5, x=$x" for (x, val) in zip(0.01:0.01:0.99, ans1)
1010
@test beta_inc(0.5, 0.5, x, 1.0 - x)[1] val # scipy.special.betainc(0.5,0.5,x)
1111
end
12-
@testset "a=0.5, b=0.8, x=$x" for (ctr, x) in enumerate(0.01:0.01:0.99)
13-
@test beta_inc(0.5, 0.8, x, 1.0 - x)[1] ans2[ctr]#scipy.special.betainc(0.5,0.8,x)
12+
@testset "a=0.5, b=0.8, x=$x" for (x, val) in zip(0.01:0.01:0.99, ans2)
13+
@test beta_inc(0.5, 0.8, x, 1.0 - x)[1] val # scipy.special.betainc(0.5,0.8,x)
1414
end
1515
@testset "a=0.9, b=0.8, x=$x" for (ctr, x) in enumerate(0.01:0.01:0.99)
1616
@test beta_inc(0.9, 0.8, x, 1.0 - x)[1] ans3[ctr]#scipy.special.betainc(0.9,0.8,x)

0 commit comments

Comments
 (0)