Fix typo in `real:min'.
authorChris Hanson <org/chris-hanson/cph>
Fri, 27 Oct 1989 23:58:51 +0000 (23:58 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 27 Oct 1989 23:58:51 +0000 (23:58 +0000)
v7/src/runtime/arith.scm

index fec31bd4236e42d85d97275a94d71c55b4d5c147..864650dbf86bc7684259bd6d4d467cce03567b87 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.3 1989/10/27 07:25:24 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.4 1989/10/27 23:58:51 cph Exp $
 
 Copyright (c) 1989 Massachusetts Institute of Technology
 
@@ -809,7 +809,8 @@ MIT in each case. |#
          (if (rat:< (flo:->rational x) y) x (rat:->flonum y)))
       (if (flonum? y)
          (if (rat:< x (flo:->rational y)) (rat:->flonum x) y)
-         (if (rat:< x y) y x))))
+         (if (rat:< x y) x y))))
+
 (define (real:* x y)
   (cond ((flonum? x)
         (cond ((flonum? y) (flo:* x y))