From 62b2febc0cc498311ccd106f95d344df009deb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asgeir=20Bj=C3=B8rgan?= Date: Thu, 28 Dec 2017 23:47:29 +0100 Subject: [PATCH] Rectify time difference between the checked passes in the max elevation tests. Led to test timepoints being more than 100 days since the TLE epoch, leading to long calculation times for some satellites. --- tests/maxelevation-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/maxelevation-t.cpp b/tests/maxelevation-t.cpp index 050d52f..fbcced1 100644 --- a/tests/maxelevation-t.cpp +++ b/tests/maxelevation-t.cpp @@ -157,7 +157,7 @@ int test_max_elevation(double start_time, predict_observer_t *observer, predict_ struct predict_observation obs; for (int i=0; i < NUM_PASSES; i++) { - start_time += i*TIME_DIFF; + start_time += TIME_DIFF; predict_orbit(orbital_elements, &orbit, start_time); predict_observe_orbit(observer, &orbit, &obs);