Skip to content

Commit 2363f8f

Browse files
committed
Remove old code
1 parent eb71c65 commit 2363f8f

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/gamma_inc.jl

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -490,44 +490,6 @@ function gamma_inc_asym(a::Float64, x::Float64, ind::Integer)
490490
sm += sum(reverse!(@view wk[1:i]))
491491
q = (rgammax(a, x) / x) * (1.0 + sm)
492492
return (1.0 - q, q)
493-
494-
495-
496-
497-
# wk = zeros(30)
498-
# flag = false
499-
# acc = acc0[ind + 1]
500-
# amn = a - 1.0
501-
# t = amn/x
502-
# wk[1] = t
503-
# loop = 2
504-
# for indx = 2:20
505-
# amn -= 1.0
506-
# t *= amn/x
507-
# if abs(t) <= 1.0e-3
508-
# loop = indx
509-
# flag = true
510-
# break
511-
# end
512-
# wk[indx] = t
513-
# end
514-
# if !flag
515-
# loop = 20
516-
# end
517-
# sm = t
518-
# while true
519-
# if abs(t) < acc
520-
# break
521-
# end
522-
# amn -= 1.0
523-
# t *= amn/x
524-
# sm += t
525-
# end
526-
# for j = loop-1:-1:1
527-
# sm += wk[j]
528-
# end
529-
# q = (rgammax(a, x)/x)*(1.0 + sm)
530-
# return (1.0 - q, q)
531493
end
532494
"""
533495
gamma_inc_taylor_x(a,x,ind)

0 commit comments

Comments
 (0)