This commit is contained in:
Kent English
2017-02-22 23:18:01 -05:00
parent 895b77093e
commit a94452c8c8
6 changed files with 10 additions and 10 deletions

View File

@@ -135,7 +135,7 @@ func Igam(a, x float64) float64 {
}
if x < 0 || a <= 0 {
panic(badParamOutOfBounds)
panic(paramOutOfBounds)
}
// Asymptotic regime where a ~ x; see [2].
@@ -155,7 +155,7 @@ func Igam(a, x float64) float64 {
// IgamC computes the complement of the incomplete Gamma integral
func IgamC(a, x float64) float64 {
if x < 0 || a <= 0 {
panic(badParamOutOfBounds)
panic(paramOutOfBounds)
} else if x == 0 {
return 1
} else if math.IsInf(x, 0) {