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

Home » Public Forums » archive » Re: IDL Bug: NCOMPLEMENT keyword to where
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: IDL Bug: NCOMPLEMENT keyword to where [message #28032 is a reply to message #28030] Fri, 16 November 2001 13:47 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
On the Mac, the following output is produced:

IDL> wh=where([1,2] eq 1) ; Works fine
IDL> wh=where([1,2] eq 1,NCOMPLEMENT=ncnt)
% Internal error: Bad variable type encountered in no_name_var().
% Execution halted at: $MAIN$

I guess, this confirms the bug.

Pavel

JD Smith wrote:
>
> I've found an ugly bug with the NCOMPLEMENT keyword to where(), first
> introduced in IDL v5.4.
>
> IDL> wh=where(1,NCOMPLEMENT=ncnt)
>
> causes a segfault, in v5.4 and v5.5, under Linux at least. It only
> occurs if NCOMPLEMENT is used, but the corresponding COMPLEMENT is not.
> A temporary workaround is always to specify COMPLEMENT, even if you
> don't need it.
>
> JD
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Problem with gaussfit in IDL/v5.5
Next Topic: Re: TV and T3D?

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

Current Time: Wed Oct 08 17:17:50 PDT 2025

Total time taken to generate the page: 0.00442 seconds