RE: [Plib-devel] [BUG] Minor bug in ulClock
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2005-07-19 13:21:26
|
Gentlemen, Not hearing any screams of anguish, I am changing "ul.h" to set the "delta" variable in "ulClock::reset()" to 0.0000001 instead of 1.0/30.0 . This makes the reset function consistent with the update function. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group joh...@eg... 850-729-6330 _____ From: pli...@li... [mailto:pli...@li...] On Behalf Of Fay John F Contr AAC/WMG Sent: Thursday, July 14, 2005 12:06 PM To: pli...@li... Subject: RE: [Plib-devel] [BUG] Minor bug in ulClock Joerg, Thank you very much for spotting that. I am putting the fix into CVS. I also set "now" to zero seconds in reset(), making it consistently "seconds since reset" instead of starting out being "seconds since epoch" and then changing. Folks, Is there a reason we shouldn't set "delta" in "reset()" to 0.0000001 (its minimum value in update() ) rather than 1.0 / 30.0 ? I value the consistency, which I would consider a good enough reason to change it. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... |