Skip to content

Commit 2b077a4

Browse files
authored
Small bug on gamma_inc_temme_1 fixed (#419)
1 parent 36c547b commit 2b077a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gamma_inc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ function gamma_inc_temme_1(a::Float64, x::Float64, z::Float64, ind::Integer)
670670
l = x/a
671671
y = -a * LogExpFunctions.logmxp1(l)
672672
if a*eps()*eps() > 3.28e-3
673-
throw(DomainError((a, x, ind_), "P(a,x) or Q(a,x) is computationally indeterminant in this case."))
673+
throw(DomainError((a, x, ind), "P(a,x) or Q(a,x) is computationally indeterminant in this case."))
674674
end
675675
c = exp(-y)
676676
w = 0.5*erfcx(sqrt(y))

0 commit comments

Comments
 (0)