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

Home » Public Forums » archive » Re: WHERE problems (longish)
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: WHERE problems (longish) [message #35911 is a reply to message #35910] Tue, 22 July 2003 08:49 Go to previous messageGo to previous message
Justin[2] is currently offline  Justin[2]
Messages: 16
Registered: October 2002
Junior Member
This could possibly be a rounding problem with floating points. Try
using integers instead of floats for your wavelengths:

print, where(3000 eq ROUND(reform(dust_lookup[*,0])))

or look for values between 2999.9 and 3000.1 say...


Justin


Benjamin Panter <See@the_end.not> wrote in
news:3F1D5706.7050901@the_end.not:

> print, where(2900. eq reform(dust_lookup[*,0]))
> which works absolutly fine for most values: unfortunatly not for all:
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multidimensional Interpolation
Next Topic: about replicate_inplace

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

Current Time: Fri Oct 10 17:26:50 PDT 2025

Total time taken to generate the page: 0.56049 seconds