<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><blockquote style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); padding-left: 5px;"><div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 12pt;" class="yui_3_7_2_34_1391453357361_71"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_7_2_34_1391453357361_72"><div class="y_msg_container"><div id="yiv823725505"><div dir="ltr"><br>an example of errors that I obtain is: I build a matrix (SciPy array) using the same data.<div>I search for the maximum and the minimum with the given function and I insert the two values in a tuple that I print.</div>
<div>sometimes it print to me this: (0.0, 3.1926676650124463e-14)</div><div>sometimes it print to me: (nan, nan)</div><div><br></div></div></div></div></div></div></blockquote><span style="font-family: 'times new roman', 'new york', times, serif;">That looks like in may be a scipy issue rather than core Python.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;">We do have some SciPy users who may be able to help, but it </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;">would be easier if they could see the function and calling code </span></div><div
style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;">you are using.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;">Also you may get better help on the scipy mailing list/web fora.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style:
normal;"><span style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif;">Alan G.</span></div> </div></body></html>