From: Tarmigan Casebolt Date: Mon, 24 Aug 2015 02:51:33 +0000 (-0700) Subject: math: avoid unused assignment in jn.go X-Git-Tag: go1.6beta1~1292 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e893724e7506b8eda2e04ff593df806c561402e0;p=gostls13.git math: avoid unused assignment in jn.go Change-Id: Ie4f21bcd5849e994c63ec5bbda2dee6f3ec4da12 Reviewed-on: https://go-review.googlesource.com/13891 Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/math/jn.go b/src/math/jn.go index a7909eb24c..ffb8a00f50 100644 --- a/src/math/jn.go +++ b/src/math/jn.go @@ -200,13 +200,11 @@ func Jn(n int, x float64) float64 { for i := n - 1; i > 0; i-- { di := float64(i + i) a, b = b, b*di/x-a - di -= 2 } } else { for i := n - 1; i > 0; i-- { di := float64(i + i) a, b = b, b*di/x-a - di -= 2 // scale b to avoid spurious overflow if b > 1e100 { a /= b