Skip to content

postpos inputobs: guard against iobsr being out of range#253

Merged
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:inputobs-guard-iobsr
Dec 14, 2024
Merged

postpos inputobs: guard against iobsr being out of range#253
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:inputobs-guard-iobsr

Conversation

@ourairquality
Copy link

The iobsr index can be out of range of the obs data, beyond the end or the start, such as when there is only one receiver. inputobs() was indexing into the data using the out of range iobsr index.

Remove a redundant call to nextobsf() in the case that an immediate prior call returned zero.

Small performance improvement for nextobsf() and nextobsb(). Avoid comparing the obs times if an obs with a different rcv is found first.

@ourairquality ourairquality force-pushed the inputobs-guard-iobsr branch from 7560631 to 63ffa1c Compare June 6, 2024 00:02
The iobsr index can be out of range of the obs data, beyond the end or
the start, such as when there is only one receiver. inputobs() was
indexing into the data using the out of range iobsr index.

Remove a redundant call to nextobsf() in the case that an immediate
prior call returned zero.

Small performance improvement for nextobsf() and nextobsb(). Avoid
comparing the obs times if an obs with a different rcv is found first.
@rtklibexplorer rtklibexplorer merged commit 24674c4 into rtklibexplorer:demo5 Dec 14, 2024
rtklibexplorer added a commit that referenced this pull request Dec 15, 2024
…d up the normal merge process so am manually adding the code.

The iobsr index can be out of range of the obs data, beyond the end or the start, such as when there is only one receiver. inputobs() was indexing into the data using the out of range iobsr index.

Remove a redundant call to nextobsf() in the case that an immediate prior call returned zero.

Small performance improvement for nextobsf() and nextobsb(). Avoid comparing the obs times if an obs with a different rcv is found first.
@ourairquality ourairquality deleted the inputobs-guard-iobsr branch December 17, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants