|
Re: % Program caused arithmetic error: Floating illegal operand [message #61822 is a reply to message #61821] |
Fri, 08 August 2008 14:45  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Aug 8, 4:28 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Aug 8, 4:07 pm, neon <neo...@gmail.com> wrote:
>
>> Hi,
>> I am having trouble figuring out where this warning message orginates
>> in my code. I know this message comes when you have NaNs in the data
>> that you are manipulating. But the thing is the code i'm dealing with
>> is pretty huge and I'm having trouble isolating the cause. Does anyone
>> know of a way to figure out the line number where this warning message
>> is orginating from? It would save me quite a bit of time.
>> Thanks
>> --
>> Nirbhik
>
> Hi,
>
> Try changing the value of the system variable !EXCEPT as described
> here:http://tinyurl.com/6oaha3
>
> Cheers,
> Ben
This is also in: Window->Preferences...->IDL->Interpreter->Report
floating-point math exceptions->Immediately (2)
But !EXCEPT=2 is a lot shorter 8^)
|
|
|
Re: % Program caused arithmetic error: Floating illegal operand [message #61827 is a reply to message #61822] |
Fri, 08 August 2008 14:28  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Aug 8, 4:07 pm, neon <neo...@gmail.com> wrote:
> Hi,
> I am having trouble figuring out where this warning message orginates
> in my code. I know this message comes when you have NaNs in the data
> that you are manipulating. But the thing is the code i'm dealing with
> is pretty huge and I'm having trouble isolating the cause. Does anyone
> know of a way to figure out the line number where this warning message
> is orginating from? It would save me quite a bit of time.
> Thanks
> --
> Nirbhik
Hi,
Try changing the value of the system variable !EXCEPT as described
here: http://tinyurl.com/6oaha3
Cheers,
Ben
|
|
|