Hi Hernan: Just out of curiosity, if you are ever in a position to run
tests under the buggy PDL again, what happens if you try
$w->rint instead of rint ($w) ?
I've noticed that sometimes the type of the PDL is misinterpreted and you
get funny results unless you use the -> notation.
Regards,
Doug
On Mon, 23 Feb 2009, hernan gonzalez wrote:
I'm using ActivePerl, on Windows XP, I got PDL with the Perl Package
Manager
If you installed the ActiveState ppm package, try installing the Uwinnipeg
ppm package instead.
First, 'ppm remove PDL', then :
ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/PDL.ppd
(I'm using Eclipse with EPIC, but here's the command line result) :
I installed the Uwinnipeg package. This hasnt the strange (and scary)
bug, I get the correct answer now.
perldl> print $w,"\n";
[0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25]
perldl> print rint ($w) ,"\n";
[0 0 0 1 1 1 2 2 2 2]
I wonder what happened with the other distribution, the issue does not
seem minor...
Thanks
--
Hernán J. González
http://hjg.com.ar/
_______________________________________________
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