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

Home » Public Forums » archive » Re: Fatal Bug in CONTOUR
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: Fatal Bug in CONTOUR [message #30110 is a reply to message #30088] Mon, 08 April 2002 10:45 Go to previous messageGo to previous message
Sebastian Moeller is currently offline  Sebastian Moeller
Messages: 7
Registered: April 2002
Junior Member
Wolfgang.Dobler@kis.uni-freiburg.de wrote:
> Did anybody encounter this before:
>
> levs = alog(-2)*[1,2,3] & print, levs
> contour, randomu(!pi,10,10),LEVELS=levs
>
> hangs terminally (i.e. I cannot interrupt it and need to kill the IDL
> session). Happens with 5.4 and 5.2 (at least).
>
> Of course there is no point in contouring with all levels equal to
> NaNs. But I consider it a bad bug if my programs will hang terminally,
> just because I've fed them some bad data.
>
>
> W o l f g a n g
>
Hi there,
it seems that V5.5 solves your problem. It gives a nice error message
and oes not hang, at least if the commands are given in the "command
line" of the IDE. Here is the error message:

IDL Version 5.5, Microsoft Windows (Win32 x86). (c) 2001, Research
Systems, Inc.

IDL> levs = alog(-2)*[1,2,3] & print, levs
-NaN -NaN -NaN
% Program caused arithmetic error: Floating illegal operand

the contour command produces just an empty polot window (with axis), the
IDE was not blocked.

Ahoi
Sebastian Moeller
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: region growing algorithm in IDL
Next Topic: Re: region growing algorithm in IDL

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

Current Time: Fri Dec 05 02:18:35 PST 2025

Total time taken to generate the page: 1.20545 seconds