Fix typo
authorDavid Vázquez <davazp@gmail.com>
Fri, 24 May 2013 01:03:17 +0000 (02:03 +0100)
committerDavid Vázquez <davazp@gmail.com>
Fri, 24 May 2013 01:03:17 +0000 (02:03 +0100)
src/array.lisp

index 5f6d50e..4f4b690 100644 (file)
@@ -78,8 +78,8 @@
 ;;; FIXME: should take optional min-extension.
 ;;; FIXME: should use fill-pointer instead of the absolute end of array
 (defun vector-push-extend (new vector)
-  (unless (vectorp array)
-    (error "~S is not a vector." array))  
+  (unless (vectorp vector)
+    (error "~S is not a vector." vector))  
   (let ((size (storage-vector-size vector)))
     (resize-storage-vector vector (1+ size))
     (aset vector size new)