diff --git a/src/tuple.nim b/src/tuple.nim index edeac61..f20a7bb 100644 --- a/src/tuple.nim +++ b/src/tuple.nim @@ -3,7 +3,7 @@ from math import sqrt const eps = 1.0e-7 ## Epsilon used for float comparisons. -proc `=~` *(x, y: float): bool = +proc `=~`*(x, y: float): bool = result = abs(x - y) < eps type