From 42a5288c989d2776dcb23627e5672809a7f49e61 Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Thu, 18 Dec 1997 07:18:16 +0000
Subject: [PATCH] Fix a type error in make array when allocating (complex
 double-float) arrays; the number of bits is 128 in this case not (integer 1
 64).

---
 code/array.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/code/array.lisp b/code/array.lisp
index b68af09d3..9ce55e776 100644
--- a/code/array.lisp
+++ b/code/array.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/array.lisp,v 1.24 1997/11/01 22:58:07 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/array.lisp,v 1.25 1997/12/18 07:18:16 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -171,7 +171,8 @@
 	(multiple-value-bind (type bits)
 			     (%vector-type-code element-type)
 	  (declare (type (unsigned-byte 8) type)
-		   (type (integer 1 64) bits))
+		   (type (integer 1 #-complex-float 64
+				    #+complex-float 128) bits))
 	  (let* ((length (car dimensions))
 		 (array (allocate-vector
 			 type
-- 
GitLab