From: Roy V. O. <roy...@ha...> - 2009-01-03 13:17:38
|
On Friday 02 January 2009 18:32:58 Csaba Halász wrote: > 0x00000000007e1c50 in GPS::updateTTWNode (this=0xce164c0, > ctx=@0x7fff664fdee0, distance_m=12822604.584446406, > node=@0x7fff664fddd0) at src/Instrumentation/gps.cxx:483 > 483 unsigned int TTW_seconds = (int) (TTW + 0.5); > (gdb) p TTW > $10 = 62278235905.950584 > > Not sure what it is calculating anyway. This happened with the > hurricane just at startup. > And all the "while" loops look silly too. Please apply this patch to extract the hours minutes and seconds without using silly while loops. -- Roy Vegard Ovesen |