Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Matrix3 column accessor methods
Although reinterpret_cast happens to work with Eigen matrices, it is inherently dangerous since it relies on assumptions about the internal layout. These accessor methods were not actually used outside of tests, and for test purposes they don't offer anything that can't be achieved using zx(), zy() etc. The AccessMatrixColumnVectors test is removed entirely (since it only existed to test these methods), while the call to zCol() in ConstructTranslationMatrix is removed since the test already compares the entire list of matrix coefficients with the expected values.
- Loading branch information
Matthew Mott
committed
Mar 1, 2022
1 parent
475bbef
commit dfafe34
Showing
2 changed files
with
5 additions
and
60 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
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