Commit e6a3f286122ea99d65a6448c3c41d0bdc411b2d7

Authored by Raymond Toy
1 parent 64c424b7

sum-an was summing one too many terms.

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -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
... ...