On Wed, Jul 26, 2006 at 03:40:51PM +0300, Timo Lindfors wrote:
> Steps to reproduce:
> 1) perl -e 'use strict;use PDL::Fit::Gaussian;fitgauss1d(0, 0);'

the problem with your example is that you did not 'use PDL;'

> Expected results:
> 1) not sure but nothing should segfault

> 
> Actual results:
> 1) perl segfaults

> [...]
> Please let me know if you can't reproduce this bug.

well, I can reproduce the segfault with your unmodified program.
however, if you 'use PDL', the segfault disappears, as then the arguments are
converted to a piddle implicitely.

IMHO this is a problem in the documentation of the PDL::Fit::Gaussian
synopsis, which should include 'use PDL;'. I'll fix this in the next upload.

-- 
c u
henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to