From: Todd M. <jm...@st...> - 2003-12-03 11:43:30
|
On Tue, 2003-12-02 at 19:44, Sebastian Haase wrote: > Hi, > I'm just trying to debug some PyOpenGl stuff . It seems that this is only > available with Numeric (no numarray !?) > > Drawing a 60000 vertex array takes 6 sec ( should be much less than 0.5 sec > !! ) > I found this is because all my other code is using numarray and it is this > conversion that takes so long. > Switching to Numeric (and back to numarray) got this error message: > [[[ Num is here numarray !! ]] > self.m_histPlotArray = Num.zeros((n,2), typecode=Num.Float32) > TypeError: zeros() got an unexpected keyword argument 'typecode' numarray is still weak in a few places for keyword names. Try 'type' instead. Todd > > I thought numarray suppossed to be backwards compatible ... so I just > report this as a bug. > > Regards, > Sebastian > > > > ------------------------------------------------------- > 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 <jm...@st...> |