unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* list->c32vector and list->c64vector should accept complex numbers
@ 2011-04-01  6:24 Tobias Brandt
  2011-04-01 14:46 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Brandt @ 2011-04-01  6:24 UTC (permalink / raw)
  To: bug-guile

I expected this to work:

scheme@(guile-user)> (use-modules (srfi srfi-4 gnu))
scheme@(guile-user)> (list->c64vector '(1.0+1.0i))
srfi/srfi-4/gnu.scm:92:2: In procedure bytevector-c64-native-set!:
srfi/srfi-4/gnu.scm:92:2: Wrong type (expecting real number): 1.0+1.0i



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: list->c32vector and list->c64vector should accept complex numbers
  2011-04-01  6:24 list->c32vector and list->c64vector should accept complex numbers Tobias Brandt
@ 2011-04-01 14:46 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2011-04-01 14:46 UTC (permalink / raw)
  To: Tobias Brandt; +Cc: bug-guile

On Fri 01 Apr 2011 08:24, Tobias Brandt <tob.brandt@googlemail.com> writes:

> I expected this to work:
>
> scheme@(guile-user)> (use-modules (srfi srfi-4 gnu))
> scheme@(guile-user)> (list->c64vector '(1.0+1.0i))
> srfi/srfi-4/gnu.scm:92:2: In procedure bytevector-c64-native-set!:
> srfi/srfi-4/gnu.scm:92:2: Wrong type (expecting real number): 1.0+1.0i

Indeed.  Fixed in git, thanks for the report.

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01  6:24 list->c32vector and list->c64vector should accept complex numbers Tobias Brandt
2011-04-01 14:46 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).