summaryrefslogtreecommitdiff
path: root/src/pkg/math/fabs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/fabs.go')
-rw-r--r--src/pkg/math/fabs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/fabs.go b/src/pkg/math/fabs.go
index 254756cc4..752133e0c 100644
--- a/src/pkg/math/fabs.go
+++ b/src/pkg/math/fabs.go
@@ -7,7 +7,7 @@ package math
// Fabs returns the absolute value of x.
func Fabs(x float64) float64 {
if x < 0 {
- return -x;
+ return -x
}
return x;
}