From 8346c4cfeaba1ec09e173ae54c76642fcd58df1b Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Sun, 11 Nov 2018 15:46:41 -0800 Subject: gpsrinex: Off by one error. --- gpsrinex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsrinex.c b/gpsrinex.c index 6112fe31..cf59a18a 100644 --- a/gpsrinex.c +++ b/gpsrinex.c @@ -342,7 +342,7 @@ static void print_rinex_header(void) /* done */ break; } - for (j = 0; j <= CODEMAX; j++) { + for (j = 0; j < CODEMAX; j++) { cnt += obs_cnt[i].obs_cnts[j]; } if (0 > cnt) { -- cgit v1.2.1