From: Edward C. J. <edc...@er...> - 2003-12-12 14:43:25
|
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. |