Commit e6a3f286 by Raymond Toy

sum-an was summing one too many terms.

1 parent 64c424b7
Showing 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-AB computes the series
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!