Skip to content

Commit

Permalink
Use TYPE-OF to set the correct type when testing specific-array-eleme…
Browse files Browse the repository at this point in the history
…nt-type.
  • Loading branch information
Thomas M. Hermann committed Oct 2, 2014
1 parent b4c0735 commit a2372c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/kernel/utility.lisp
Expand Up @@ -94,11 +94,11 @@
(genarray 'double-float)))
;; Complex float
(assert-equal
'(complex single-float)
(type-of (complex 1.0 0.0))
(linear-algebra-kernel:specific-array-element-type
(genarray '(complex single-float))))
(assert-equal
'(complex double-float)
(type-of (complex 1D0 0D0))
(linear-algebra-kernel:specific-array-element-type
(genarray '(complex double-float))))))

Expand Down

0 comments on commit a2372c1

Please sign in to comment.