ssb supplied fix

pull/60/merge
bert hubert 2020-01-12 22:48:11 +01:00
parent 11b41aae4a
commit e20a0b40f8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ double getCoordinates(double tow, const GlonassMessage& eph, Point* p)
uint32_t ephtow = (gloT0e - 820368000) % (7*86400);
double DT = tow - ephtow;
int n = abs (DT / 100); // integrate in roughly 100 second steps
int n = abs (DT / 100) + 1; // integrate in roughly 100 second steps
double h = DT / n;
for (int j = 0; j < n; j ++)
rk4step (A, y0, h);