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

Home » Public Forums » archive » should max nuke the 2nd argument
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
should max nuke the 2nd argument [message #65727] Mon, 23 March 2009 07:41
Greg Hennessy is currently offline  Greg Hennessy
Messages: 45
Registered: November 2005
Member
The following weird thing is happening to me. Does it happen to
others?

IDL> n=2l^15
IDL> id=indgen(30000)
IDL> nel=size(id,/n_elements)
IDL> help,n,nel
N LONG = 32768
NEL LONG = 30000
IDL> n=min(n,nel)
IDL> help,n,nel
N LONG = 32768
NEL LONG = 0
IDL>

I don't think that the nel variable should be reset
to zero after the call to min, but its early enough
in the morning I'd like a 2nd opinon before I try
to report this as a bug.

IDL Version 6.4 (linux x86_64 m64).
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Help and Ideas about Plotting...
Next Topic: Re: Question regarding Envi_convert_file_map_projection

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

Current Time: Wed Oct 08 17:58:16 PDT 2025

Total time taken to generate the page: 0.00404 seconds