At the risk of introducing complexity, we could do debug levels. If somebody wants these messages, they can set something, but they are supressed by default.<br><br>On Monday, August 15, 2011, Stephen Skory <<a href="mailto:s@skory.us">s@skory.us</a>> wrote:<br>
> Hi all,<br>><br>> this may not be a big issue because most people won't be using<br>> Geoffrey's new ellipsoidal halo information. However, it may spark<br>> discussion about this topic overall and set a useful precedent.<br>
><br>> I have just finished vectorizing some of Geoffrey's code that is<br>> attached to the halo finder code. In so doing, I am allowing NaNs to<br>> come into the calculation because it keeps thing simple. Happily, the<br>
> NaNs only exist where I know the answers can't be, and<br>> numpy.nanargmin/max() happily ignores the NaNs. But when I make the<br>> NaNs through a divide by zero (and some other stuff) I get warning<br>> messages telling me I just did what I knew was going to happen.<br>
><br>> My question is, do we think that I should try to suppress these<br>> warnings? They are accurate, but the math that makes them is done<br>> intentionally, so they're not informative.<br>><br>> Can I get a +1/0/-1? Thanks!<br>
><br>> --<br>> Stephen Skory<br>> <a href="mailto:s@skory.us">s@skory.us</a><br>> <a href="http://stephenskory.com/">http://stephenskory.com/</a><br>> 510.621.3687 (google voice)<br>> _______________________________________________<br>
> Yt-dev mailing list<br>> <a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
>