[oct-scm] [oct-git]OCT: A portable Lisp implementation for quad-double precision floats branch master updated. e6a3f286122ea99d65a6448c3c41d0bdc411b2d7

Raymond Toy rtoy at common-lisp.net
Tue Apr 17 16:35:28 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OCT:  A portable Lisp implementation for quad-double precision floats".

The branch, master has been updated
       via  e6a3f286122ea99d65a6448c3c41d0bdc411b2d7 (commit)
      from  64c424b7f41413424bbab93d4f5dd4f8461b784d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e6a3f286122ea99d65a6448c3c41d0bdc411b2d7
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Tue Apr 17 09:32:27 2012 -0700

    sum-an was summing one too many terms.

diff --git a/qd-bessel.lisp b/qd-bessel.lisp
index 37a4c8e..bf3ca04 100644
--- a/qd-bessel.lisp
+++ b/qd-bessel.lisp
@@ -350,7 +350,7 @@
 		   (an n k v)))
 	  (sum term (+ sum term)))
 	 ((or (<= (abs term) (* eps (abs sum)))
-	      (> k big-n))
+	      (>= k big-n))
 	  sum))))
 
 ;; SUM-AB computes the series

-----------------------------------------------------------------------

Summary of changes:
 qd-bessel.lisp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
OCT:  A portable Lisp implementation for quad-double precision floats




More information about the oct-cvs mailing list