[Numpy-discussion] Possible bug in scalar * array

Francesc Alted falted at openlc.org
Tue Oct 21 02:02:29 CDT 2003


A Dilluns 20 Octubre 2003 21:36, Todd Miller va escriure:
> I talked this over with Perry and we concluded that it's probably a good
> thing to trap the out of range scalar values before using them.  Thus,
> we're proposing to fix the error handling,  but to make the calls in
> question raise an overflow exception on the first call.  We are
> interested in hearing other opinions however.  Comments?

You mean implementing range checking in numarray objects? In my opinion,
that would be a very nice feature, although I don't know how that would
affect the assignment performance.

-- 
Francesc Alted





More information about the Numpy-discussion mailing list