forked from tomojitakasu/RTKLIB
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtkpos ddidx restamb: rewrite for clarity
For ddidx(), replace the baked in striding over the state vector with the use of the IB() macro. This makes the code less fragile if the state vector layout changes and make it easier to explore alternative double difference orderings. Rewrite restamb() to use the index produced by ddidx() which it must match, rather than striding over the state vector in the same manner as ddidx(). Now many changes to the double difference indexing in ddidx() do not necessarily require matching chances to restamb(). There remains some code in holdamb() striding over the state vector, and that might need to match the indexing in ddidx(), and that is still brittle to changes in ddidx().
- Loading branch information
1 parent
7282f07
commit de97605
Showing
1 changed file
with
91 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters