Git commit d5952fb1b8b2451a2711d679b678cad262b0049c by Khudyakov Alexey. Committed on 23/07/2011 at 15:38. Pushed by khudyakov into branch 'master'. Rename stepp -> step M +4 -4 kstars/skyobjects/satellite.cpp http://commits.kde.org/kstars/d5952fb1b8b2451a2711d679b678cad262b0049c diff --git a/kstars/skyobjects/satellite.cpp b/kstars/skyobjects/satellite.cpp index eec167f..ce99d1a 100644 --- a/kstars/skyobjects/satellite.cpp +++ b/kstars/skyobjects/satellite.cpp @@ -723,7 +723,7 @@ int Satellite::sgp4( double tsince ) const double g52 = 1.0508330; const double g54 = 4.4108898; const double rptim = 4.37526908801129966e-3; // this equates to 7.29211514668855e-5 rad/sec - const double stepp = 720.0; + const double step = 720.0; const double step2 = 259200.0; // Calculate deep space resonance effects @@ -746,9 +746,9 @@ int Satellite::sgp4( double tsince ) } if ( tsince > 0.0 ) - delt = stepp; + delt = step; else - delt = -stepp; + delt = -step; iretn = 381; // added for do loop @@ -782,7 +782,7 @@ int Satellite::sgp4( double tsince ) xnddt = xnddt * xldot; } - if ( fabs( tsince - atime ) >= stepp ) { + if ( fabs( tsince - atime ) >= step ) { iretn = 381; } else { ft = tsince - atime;