comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Math errors tracked! To a built-in library...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Math errors tracked! To a built-in library... [message #78239 is a reply to message #78235] Wed, 02 November 2011 08:42 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Nov 1, 2:53 pm, Ed Hyer <ejh...@gmail.com> wrote:
> !except=2; blow up all math errors
> ...
> % Program caused arithmetic error: Floating divide by 0
> % Detected at MEAN                1 /usr/local/itt/idl71/lib/mean.pro
>
> If you understand why this gives me a sad, and you have any tips on
> finding the operation that tried to /0, please share.

Perhaps you are supplying an array with all NaNs? MEAN() simply calls
MOMENT() so you could practice doing that yourself.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Printing to command line without a new line
Next Topic: Re: Printing to command line without a new line

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 03:40:30 PDT 2025

Total time taken to generate the page: 0.17758 seconds