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

Home » Public Forums » archive » Re: Yet again, The Sky is Falling!
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: Yet again, The Sky is Falling! [message #52977 is a reply to message #52843] Fri, 09 March 2007 08:38 Go to previous messageGo to previous message
yp is currently offline  yp
Messages: 42
Registered: February 2005
Member
David,

> Well, I haven't tracked the actual culprit down yet, but
> the calculations in INT_LUT are doing *something* to the
> variables that are being passed in by reference. If I
> pass everything in by value, then there is no difference:

> I suspect there is a calculation in there that sets one
> of the values very nearly to what you expect it to be,
> but not quite.

Your guess is right. I caught the culprit - I had presumed the first
value of thetaV to be zero (which is not) and when I pass the
parameter by reference it picks the nearest value of the thetaV tab
(1.078) and it does exactly what you suspected .

I did not realise that when I first wrote this last year... a classic
example of reckless coding :( sorry to bother you all. But your
suggestions were really helpful to figure this out :)

Thanks to all,
yas
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array resize with arbitrary arithmetic
Next Topic: mpeg creation problem

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

Current Time: Sat Oct 11 16:17:16 PDT 2025

Total time taken to generate the page: 1.19987 seconds