emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/telephone-line 2906d39401 116/195: Oops, don't want accide


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 2906d39401 116/195: Oops, don't want accidental rounding.
Date: Wed, 5 Jan 2022 02:59:33 -0500 (EST)

branch: elpa/telephone-line
commit 2906d394013a90168df002efd3deafb41ddb072b
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>

    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

[Prev in Thread] Current Thread [Next in Thread]