Package: python-numarray
Version: 1.5.2-4
Severity: normal

The program

import numarray
n = numarray.zeros((3,3))
print numarray.concatenate((n,n))

outputs the right thing on ia32, but raises a

Traceback (most recent call last):
  File "zw.py", line 3, in <module>
    print numarray.concatenate((n,n))
  File "/usr/lib/python2.5/site-packages/numarray/generic.py", line 1115, in 
concatenate
    return _concat(arrs)
  File "/usr/lib/python2.5/site-packages/numarray/generic.py", line 1105, in 
_concat
    dest[ix:ix+_shape0(a)]._copyFrom(a)
  File "/usr/lib/python2.5/site-packages/numarray/generic.py", line 619, in 
_broadcast
    return _broadcast(arr, self._shape)
  File "/usr/lib/python2.5/site-packages/numarray/generic.py", line 93, in 
_broadcast
    raise ValueError("Arrays have incompatible shapes")
ValueError: Arrays have incompatible shapes

on amd64 -- or at least the box I'm trying it on.  While trying to 
nail down what happens, I gave up when I found that 
NA_ShapeEqual(selfa, arra) in _numarraymodule.c, 426 is false on the
second iteration and gained the impression I'd have a relatively
hard time figuring out why...

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-xen-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to 
de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-numarray depends on:
ii  libblas3gf [libblas.so.3gf]   1.2-2      Basic Linear Algebra Subroutines 3
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libgfortran3                  4.3.2-1.1  Runtime library for GNU Fortran ap
ii  liblapack3gf [liblapack.so.3g 3.1.1-1    library of linear algebra routines
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

python-numarray recommends no packages.

Versions of packages python-numarray suggests:
pn  python-numarray-dbg           <none>     (no description available)
ii  python-numarray-doc           1.5.2-4    An array processing package for Py

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to