Skip to content

Commit

Permalink
- Add validation check to GLONASS orbital parameter to avoid floating…
Browse files Browse the repository at this point in the history
… point error if navigation data invalid.

- Update version from b34f to b34f.1
  • Loading branch information
rtklibexplorer committed Apr 5, 2022
1 parent fa8e46c commit 9d80191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ephemeris.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ static int ephclk(gtime_t time, gtime_t teph, int sat, const nav_t *nav,
}
else if (sys==SYS_GLO) {
if (!(geph=selgeph(teph,sat,-1,nav))) return 0;
if (fabs(geph->taun) > 1) return 0; /* reject invalid data to prevent fp error */
*dts=geph2clk(time,geph);
}
else if (sys==SYS_SBS) {
Expand Down
2 changes: 1 addition & 1 deletion src/rtklib.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extern "C" {

#define VER_RTKLIB "demo5" /* library version */

#define PATCH_LEVEL "b34f" /* patch level */
#define PATCH_LEVEL "b34f.1" /* patch level */

#define COPYRIGHT_RTKLIB \
"Copyright (C) 2007-2020 T.Takasu\nAll rights reserved."
Expand Down

0 comments on commit 9d80191

Please sign in to comment.