Fix a typo in coerce.
authorStas Boukarev <stassats@gmail.com>
Sat, 12 Jul 2014 21:38:24 +0000 (01:38 +0400)
committerStas Boukarev <stassats@gmail.com>
Sat, 12 Jul 2014 21:38:24 +0000 (01:38 +0400)
VECTOR => VECTORP.

Reported by Chris Schafmeister.

src/lsp/predlib.lsp

index d995ebb..85a4ce0 100644 (file)
@@ -702,7 +702,7 @@ if not possible."
           ((VECTOR SIMPLE-VECTOR #+unicode SIMPLE-BASE-STRING SIMPLE-STRING #+unicode BASE-STRING STRING BIT-VECTOR SIMPLE-BIT-VECTOR)
            (concatenate type object))
           (t
-           (if (or (listp object) (vector object))
+           (if (or (listp object) (vectorp object))
                (concatenate type object)
                (error-coerce object type)))))
        ((eq (setq aux (first type)) 'COMPLEX)
@@ -721,7 +721,7 @@ if not possible."
         (unless (typep aux type)
           (error-coerce object type))
         aux)
-       ((or (listp object) (vector object))
+       ((or (listp object) (vectorp object))
         (concatenate type object))
        (t
         (error-coerce object type))))