Re: MEAN function not working properly. [message #84372] |
Wed, 29 May 2013 11:04 |
Martín Garay-MacLea
Messages: 4 Registered: May 2013
|
Junior Member |
|
|
On Wednesday, May 29, 2013 1:40:40 PM UTC-4, Martín Garay-MacLean wrote:
> I am trying to use the mean function, in idl 8.1, with the NAN keyword. However, when I run it, it gives the error that the NAN keyword cannot be used with the mean function. I understand this was a problem before 7.1, and that it should not be happening in 8.1
>
>
>
> I checked the mean.pro file, and it does in fact have the NAN keyword in it. Hve anyone run into this?
Thank you very much. Problem is solved.
Martín
|
|
|
Re: MEAN function not working properly. [message #84373 is a reply to message #84372] |
Wed, 29 May 2013 10:48  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Martín Garay-MacLean writes:
> I am trying to use the mean function, in idl 8.1, with the NAN keyword. However, when I run it, it gives the error that the NAN keyword cannot be used with the mean function. I understand this was a problem before 7.1, and that it should not be happening in 8.1
>
> I checked the mean.pro file, and it does in fact have the NAN keyword in it. Hve anyone run into this?
You are finding a MEAN function from somewhere else on your IDL path. To
locate which one you are using, type this:
IDL> Print, File_Which('mean.pro')
Remove that one, or rearrange your IDL path directories, to get it
sorted out.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|