[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] foreign-lambda - how to declare double array as argu
Re: [Chicken-users] foreign-lambda - how to declare double array as argument and how to pass things to it?
Sun, 11 Nov 2007 21:37:10 -0600
Did you try passing in an f64vector instead of a vector?
On 11/11/07, Terrence Brannon <address@hidden> wrote:
> My guess was f64vector. That compiled, but passing a Scheme vector in failed:
> #;2> (let ([vec (vector 0 1 1)]) (polevl 42 vec (vector-length vec)))
> Error: bad argument type - not a number-vector or not of the correct type
> #(0 1 1)