[Numpy-discussion] Zero Division not handled correctly?
Sun Dec 6 16:39:55 CST 2009
On Sun, Dec 6, 2009 at 1:16 PM, Skipper Seabold <firstname.lastname@example.org> wrote:
> In : np.array()**-1/-1
> Floating point exception
> This last command crashes the interpreter.
It crashes mine also, and IMO, anything that crashes the interpreter should
be considered a bug - can you file a bug report, please? Thanks!
> There have been some threads about similar issues over the years, but
> I'm wondering if this is still intended/known or if this should raise
> an exception or return inf or -inf. I expected a -inf, though maybe
> this is incorrect on my part.
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion