summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/complex.nim8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/pure/complex.nim b/lib/pure/complex.nim
index 69d9c0f7f..442bf62db 100644
--- a/lib/pure/complex.nim
+++ b/lib/pure/complex.nim
@@ -7,10 +7,6 @@
 #    distribution, for details about the copyright.
 #
 
-
-
-
-
 ## This module implements complex numbers.
 ## Complex numbers are currently implemented as generic on a 64-bit or 32-bit float.
 
@@ -42,8 +38,8 @@ proc complex64*(re: float64; im: float64 = 0.0): Complex[float64] =
 
 template im*(arg: typedesc[float32]): Complex32 = complex[float32](0, 1)
 template im*(arg: typedesc[float64]): Complex64 = complex[float64](0, 1)
-template im*(arg : float32): Complex32 = complex[float32](0, arg)
-template im*(arg : float64): Complex64 = complex[float64](0, arg)
+template im*(arg: float32): Complex32 = complex[float32](0, arg)
+template im*(arg: float64): Complex64 = complex[float64](0, arg)
 
 proc abs*[T](z: Complex[T]): T =
   ## Return the distance from (0,0) to ``z``.