[Tutor] strange errors

Peter Otten __peter__ at web.de
Mon Feb 3 20:12:38 CET 2014


Gabriele Brambilla wrote:

> an example of errors that I obtain is: I build a matrix (SciPy array)
> using the same data.
> I search for the maximum and the minimum with the given function and I
> insert the two values in a tuple that I print.
> sometimes it print to me this: (0.0, 3.1926676650124463e-14)
> sometimes it print to me: (nan, nan)

Are you messing around with byteorder or other lowlevel stuff?
Can you provide a small script that shows this behaviour?




More information about the Tutor mailing list