[movitz-cvs] CVS update: movitz/losp/muerte/typep.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Sat Aug 20 20:28:32 UTC 2005


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv26142

Modified Files:
	typep.lisp 
Log Message:
Fixed array type-expander.

Date: Sat Aug 20 22:28:32 2005
Author: ffjeld

Index: movitz/losp/muerte/typep.lisp
diff -u movitz/losp/muerte/typep.lisp:1.48 movitz/losp/muerte/typep.lisp:1.49
--- movitz/losp/muerte/typep.lisp:1.48	Sun Aug 14 20:52:53 2005
+++ movitz/losp/muerte/typep.lisp	Sat Aug 20 22:28:31 2005
@@ -9,7 +9,7 @@
 ;;;; Created at:    Fri Dec  8 11:07:53 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: typep.lisp,v 1.48 2005/08/14 18:52:53 ffjeld Exp $
+;;;; $Id: typep.lisp,v 1.49 2005/08/20 20:28:31 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -590,10 +590,10 @@
 	     (when (equal xet aet) (return t))))
        (or (eq dimension-spec '*)
 	   (if (typep dimension-spec 'integer)
-	       (= dimension-spec (array-rank x))
-	     (and (= (length dimension-spec) (array-rank x))
+	       (eql dimension-spec (array-rank x))
+	     (and (eql (length dimension-spec) (array-rank x))
 		  (every (lambda (xdim adim)
-			   (or (eq xdim '*) (= xdim adim)))
+			   (or (eq xdim '*) (eql xdim adim)))
 			 dimension-spec
 			 (array-dimensions x)))))))
       




More information about the Movitz-cvs mailing list