Adam Ginsburg wrote:
(I posted a similar message on comp.lang.perl.misc before realizing
this was probably the correct forum)
When I try something like this:
my $gauss=new PDL::Gaussian([2],[1]);
my $covar=$gauss->get_covariance();
$covar->slice('0,0')++;
$gauss->upd_covariance();
in either a script or the perldl terminal, I get errors:
Use of inherited AUTOLOAD for non-method PDL::Primitive::sumover() is
deprecated at /usr/lib/perl5/PDL/Gaussian.pm line 221.
Can't locate auto/PDL/Primitive/sumover.al in @INC (@INC contains: /
etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/
lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/
local/lib/site_perl .) at /usr/lib/perl5/PDL/Gaussian.pm line 221
sumover.al doesn't exist on my computer/in my include directories,
though CPAN claims that my PDL installation is up to date. Can anyone
help me figure out what's wrong?
Congratulations! You seem to have uncovered a bug that's been waiting
to pounce for 6 YEARS! The bug in question results because a subroutine
calls PDL::Primitive::sumover, but sumover was moved to PDL::Ufunc in
October 2000. I tried a quick fix and got a malloc() memory allocation
error, so it's going to take a little more effort to fix. I'll look at
it this weekend. In the meantime, please keep test driving
PDL::Gaussian, and post a (non-anonymous) bug report on sourceforge
(sf.net/projects/pdl), so we make sure this gets taken care of.
Derek
Thanks,
Adam
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl