Stephen> On Sun, 2006-03-19 at 12:53 -0500, Liam M. Healy wrote: >> - The desktop is ..., Darcs pull 2006-03-07 23:11, SBCL 0.9.8.42 >> - The laptop is ..., Darcs pull 2006-03-17 23:59, SBCL 0.9.9
Stephen> This may or may not be an issue.
>> (with-foreign-objects ((retn :double)) >> (foreign-funcall "gsl_sf_bessel_Jn_array" >> :int 0 >> :int 2 >> :double 0.25d0 >> :pointer retn >> :int) >> (mem-aref retn :double 0))
Stephen> I know nothing about GSL besides what I just read about the function you Stephen> call above, but don't you need to allocate space for 3 doubles, not just Stephen> one, for the retn (result_array) argument?
Yes, that's it. For some reason, one is OK with the lack of allocation, the other is not.
Thanks.
Liam