From: Todd M. <jm...@st...> - 2003-12-12 15:03:10
|
This is fixed in CVS for numarray-0.8. Thanks for the report! Todd On Fri, 2003-12-12 at 09:39, Edward C. Jones wrote: > 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. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion -- Todd Miller Space Telescope Science Institute 3700 San Martin Drive Baltimore MD, 21030 (410) 338 - 4576 |