diff options
| author | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
| commit | e940edc7a026293153ba09ece40e8092a2fc2463 (patch) | |
| tree | c94a425c84b7a48f91a5d76a222effad70c9a88c /src/pkg/math/tanh.go | |
| parent | e067f862f1774ab89a2096a88571a94e3b9cd353 (diff) | |
| download | golang-e940edc7a026293153ba09ece40e8092a2fc2463.tar.gz | |
remove semis after statements in one-statement statement lists
R=rsc, r
http://go/go-review/1025029
Diffstat (limited to 'src/pkg/math/tanh.go')
| -rw-r--r-- | src/pkg/math/tanh.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/math/tanh.go b/src/pkg/math/tanh.go index dd403a4e0..e6d4da87b 100644 --- a/src/pkg/math/tanh.go +++ b/src/pkg/math/tanh.go @@ -18,12 +18,12 @@ func Tanh(x float64) float64 { if x < 0 { x = -x; if x > 21 { - return -1; + return -1 } return -Sinh(x) / Cosh(x); } if x > 21 { - return 1; + return 1 } return Sinh(x)/Cosh(x); } |
