bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list->c32vector and list->c64vector should accept complex numbers


From: Andy Wingo
Subject: Re: list->c32vector and list->c64vector should accept complex numbers
Date: Fri, 01 Apr 2011 16:46:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Fri 01 Apr 2011 08:24, Tobias Brandt <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]