branch: elpa/telephone-line
commit 2906d394013a90168df002efd3deafb41ddb072b
Author: Daniel Bordak <[email protected]>
Commit: Daniel Bordak <[email protected]>

    Oops, don't want accidental rounding.
---
 telephone-line-utils.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index f461c1bf0c..95a4e9cedd 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -59,7 +59,7 @@ For odd lengths, this is a sequence from -((LENGTH-1)/2) to
 ...And a LENGTH of 10 produces:
 
   -4.5 -3.5 -2.5 -1.5 -0.5 +0.5 +1.5 +2.5 +3.5 +4.5"
-  (let ((bound (/ (1- length) 2)))
+  (let ((bound (/ (1- length) 2.0)))
     (number-sequence (- bound) bound)))
 
 (defun telephone-line-create-trig-axis (length)

Reply via email to