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

Home » Public Forums » archive » Looking for more ideas on code ...
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: Looking for more ideas on code ... [message #32340 is a reply to message #32276] Wed, 02 October 2002 08:13 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
thompson@orpheus.nascom.nasa.gov (William Thompson) writes:
[ Markwardt: ]
>>> profile(wh) = sin(y(wh))/y(wh)
>
[ Jeyadev : ]
>> Nice one that, when the only exceptional value is the same for
>> all "problem" points.
>
> The only suggestion I would make would be to change the last line to
>
> if ct gt 0 then profile(wh) = sin(y(wh))/y(wh)
>
> I've been bitten by that one on countless occasions.

Right, and I *always* check the count returned from WHERE, except, it
seems, when posting to the newsgroup... Thanks for catching that.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ROI application...
Next Topic: Re: Array comparison

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

Current Time: Fri Oct 10 15:55:22 PDT 2025

Total time taken to generate the page: 1.51521 seconds