diff options
Diffstat (limited to 'src/pkg/cmath/log.go')
-rw-r--r-- | src/pkg/cmath/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/cmath/log.go b/src/pkg/cmath/log.go index b42062b2a..8e6964fee 100644 --- a/src/pkg/cmath/log.go +++ b/src/pkg/cmath/log.go @@ -55,7 +55,7 @@ import "math" // Log returns the natural logarithm of x. func Log(x complex128) complex128 { - return cmplx(math.Log(Abs(x)), Phase(x)) + return complex(math.Log(Abs(x)), Phase(x)) } // Log10 returns the decimal logarithm of x. |