Skip Menu |
 

This queue is for tickets about the Math-GSL CPAN distribution.

Report information
The Basics
Id: 47560
Status: open
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: twee [...] tweedle-dee.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.20
Fixed in: (no value)



Subject: Sample code from CPAN returns undef instead of array
Download (untitled) / with headers
text/plain 302b
I have Linux 2.6, Perl 5.8.8, GSL 1.12, Math::GSL 0.20. Sample code from CPAN: ==== use Math::GSL::FFT qw /:all/; my $data = [ (1) x 10, (0) x 236, (1) x 10 ]; my $stride = 1; my ($status, $fft) = gsl_fft_complex_radix2_forward ($data, $stride, 128); === returns 0 in $status but undef in $fft.
Download (untitled) / with headers
text/plain 501b
Howdy, Sorry, this code used to work and for some reason no longer does. I will look into this, since I want FFT's to work. Duke On Sat Jul 04 07:20:46 2009, twee wrote: Show quoted text
> I have Linux 2.6, Perl 5.8.8, GSL 1.12, Math::GSL 0.20. Sample code > from CPAN: > ==== > use Math::GSL::FFT qw /:all/; > my $data = [ (1) x 10, (0) x 236, (1) x 10 ]; > my $stride = 1; > my ($status, $fft) = gsl_fft_complex_radix2_forward ($data, $stride, > 128); > === > > returns 0 in $status but undef in $fft.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.