I am using a CVS copy of numarray downloaded on Dec 9, 2003. The
following program raises "TypeError: Can't reshape non-contiguous numarray":
#! /usr/bin/env python
import numarray
z = numarray.zeros((2,2,2))
z.max()
The error happens because "numarray.maximum.areduce" returns a
non-contiguous array.
|