diff options
author | Martin Miller | 2017-03-20 00:03:13 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-20 00:03:13 -0500 |
commit | c51745a84d6240e68e6a429a8b9c80341a0198d7 (patch) | |
tree | d724755f42a8172eba3137f7afd492a67b3a9829 /src/body.h | |
parent | da0989a2dada2fa195035be1443cf27710cdc32c (diff) | |
download | refslam-c51745a84d6240e68e6a429a8b9c80341a0198d7.zip refslam-c51745a84d6240e68e6a429a8b9c80341a0198d7.tar.gz |
Use hardcoded block sizes. Update skewSymmetric.
We can hardcode block sizes using templates for a possible performance
increase. Body::skewSymmetric() was modified to return matrix instead of
modifying one in place.
Diffstat (limited to 'src/body.h')
-rw-r--r-- | src/body.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ class Body Matrix<double,9,9> Q(double dt); Matrix<double,1,1> R(); Matrix<double,1,1> S(const Matrix<double,9,9> &P); - void skewSymmetric(const Vector3d &x, Matrix<double,3,3> &y); + Matrix<double,3,3> skewSymmetric(const Vector3d &x); void unicsv(); protected: |