Permalink
Browse files

Corrected comment introducing 3rd version algorithm

  • Loading branch information...
1 parent c1ca637 commit bcac325baaf0f36444944bdd7374d3a8e523ff11 @sarabander committed Jul 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 1.2/Ex1.14.scm
View
2 1.2/Ex1.14.scm
@@ -33,7 +33,7 @@
;; Third version:
;; --------------
;; additional condition
-;; ((= kinds-of-coins 2) (+ 1 (floor (/ amount 5))))
+;; ((= kinds-of-coins 2) (+ 1 (quotient amount 5)))
;; eliminates all subtrees with root node (cc amount 2)
;; and reduces number of steps even further
(define (cc amount kinds-of-coins)

0 comments on commit bcac325

Please sign in to comment.