[Numpy-discussion] Nasty bug using pre-initialized arrays

Chris Barker Chris.Barker@noaa....
Sat Jan 5 01:17:51 CST 2008

Scott Ransom wrote:
> I wasn't at all arguing that having complex data chopped and
> downcast into an int or float container was the right thing to do.

indeed, it is an clearly bad thing to do -- but a bug magnet? I'm not so 
sure, surely, anyone that had any idea at all what they were doing with 
complex numbers would notice it right away.

To the OP: Did you waste any time thinking this was working right? Or 
was your time spent figuring out why numpy wold do such a thing? which 
is wasted time none the less.


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception


More information about the Numpy-discussion mailing list