From: Chris Hanson Date: Sat, 26 Sep 1992 15:40:02 +0000 (+0000) Subject: Don't refer to COMPLEX:COMPLEX? here -- use NUMBER? instead. X-Git-Tag: 20090517-FFI~8895 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=cd4cfcb3677c15bb2d51da2b73030a1b045a4fb8;p=mit-scheme.git Don't refer to COMPLEX:COMPLEX? here -- use NUMBER? instead. --- diff --git a/v7/src/6001/arith.scm b/v7/src/6001/arith.scm index 593e3c7d1..001288c08 100644 --- a/v7/src/6001/arith.scm +++ b/v7/src/6001/arith.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: arith.scm,v 1.2 1992/09/22 02:19:42 cph Exp $ +$Id: arith.scm,v 1.3 1992/09/26 15:40:02 cph Exp $ Copyright (c) 1989-92 Massachusetts Institute of Technology @@ -344,7 +344,7 @@ MIT in each case. |# (cond ((null? zs) 0) ((null? (cdr zs)) - (if (not (complex:complex? (car zs))) + (if (not (number? (car zs))) (error:wrong-type-argument (car zs) false '+)) (car zs)) ((null? (cddr zs)) @@ -358,7 +358,7 @@ MIT in each case. |# (cond ((null? zs) 1) ((null? (cdr zs)) - (if (not (complex:complex? (car zs))) + (if (not (number? (car zs))) (error:wrong-type-argument (car zs) false '*)) (car zs)) ((null? (cddr zs))