Skip to content
Snippets Groups Projects
Commit 42a5288c authored by dtc's avatar dtc
Browse files

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).
parent 4183afd9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment