Package: pdl
Version: 1:2.4.3-6+b1
Severity: normal

Running the code

use PDL;
use PDL::Ufunc;
my $piddle=pdl(0,0,6,3,5,0,7,14,94,5,5,8,7,7,1,6,7,13,10,2,101,19,7,7,5);
print(pct($piddle,.9)."\n");

gives

-11

which is obviously completely wrong.

For some other piddles the percentile was calculated correctly.

Nils

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pdl depends on:
ii  fftw2                  2.1.3-22          library for computing Fast Fourier
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgd2-xpm             2.0.36~rc1~dfsg-1 GD Graphics Library version 2
ii  libgl1-mesa-glx [libgl 7.0.3-1           A free implementation of the OpenG
ii  libglu1-mesa [libglu1] 7.0.3-1           The OpenGL utility library (GLU)
ii  libgsl0ldbl            1.11-2            GNU Scientific Library (GSL) -- li
ii  libhdf4g               4.1r4-21.1        The Hierarchical Data Format libra
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libplplot9             5.9.0-6           Scientific plotting library
ii  libterm-readkey-perl   2.30-4            A perl module for simple terminal 
ii  libx11-6               2:1.1.4-2         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  perl                   5.10.0-11         Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.1 5.10.0-11         The Pathologically Eclectic Rubbis
ii  proj                   4.6.0-1           Cartographic projection filter and
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

pdl recommends no packages.

-- no debconf information



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

Reply via email to