summaryrefslogtreecommitdiff
path: root/libgo/go/math/jn.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/jn.go')
-rw-r--r--libgo/go/math/jn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/jn.go b/libgo/go/math/jn.go
index 721112f77c4..342278257ad 100644
--- a/libgo/go/math/jn.go
+++ b/libgo/go/math/jn.go
@@ -174,7 +174,7 @@ func Jn(n int, x float64) float64 {
q1 := w*z - 1
k := 1
for q1 < 1e9 {
- k += 1
+ k++
z += h
q0, q1 = q1, z*q1-q0
}