Fix bug in *, t he call to reduce was incorrect.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 9 Nov 1989 22:07:48 +0000 (22:07 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 9 Nov 1989 22:07:48 +0000 (22:07 +0000)
v7/src/runtime/arith.scm
v7/src/runtime/version.scm

index b8577944f2c2b7df8313718c5e6d2ec5ba035486..f285d0efccee5df90fc1b18f8f7c2eb1e036dcdb 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.7 1989/10/31 05:06:08 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.8 1989/11/09 22:07:04 jinx Exp $
 
 Copyright (c) 1989 Massachusetts Institute of Technology
 
@@ -1556,7 +1556,8 @@ MIT in each case. |#
        (else
         (complex:* (car zs)
                    (complex:* (cadr zs)
-                              (reduce complex:+ 1 (cddr zs)))))))
+                              (reduce complex:* 1 (cddr zs)))))))
+
 (define (- z1 . zs)
   (cond ((null? zs) (complex:negate z1))
        ((null? (cdr zs)) (complex:- z1 (car zs)))
index 6e386a7ddf15a8b7cdfd1ebd8735d0fa6dd6b765..0009b82395205792fa40721d697c633337a08ed1 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.65 1989/11/09 03:45:06 gjs Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.66 1989/11/09 22:07:48 jinx Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -45,7 +45,7 @@ MIT in each case. |#
                     '()))
   (add-system! microcode-system)
   (add-event-receiver! event:after-restore snarf-microcode-version!)
-  (add-identification! "Runtime" 14 65))
+  (add-identification! "Runtime" 14 66))
 (define microcode-system)
 
 (define (snarf-microcode-version!)