Skip to content
Snippets Groups Projects
Commit 9d2a2d38 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Use specific type not auto

parent 613b1cf5
No related branches found
No related tags found
2 merge requests!31devel->main,!30Complete UAV identification setup
...@@ -128,7 +128,7 @@ inline bool FactorAngularMomentum::residual(const MatrixBase<D1>& _L, ...@@ -128,7 +128,7 @@ inline bool FactorAngularMomentum::residual(const MatrixBase<D1>& _L,
typedef typename D4::Scalar T; typedef typename D4::Scalar T;
auto w_real = measurement_ang_vel_ - _I.segment<3>(3); Matrix<T, 3, 1> w_real = measurement_ang_vel_ - _I.template segment<3>(3);
const auto& Lx = _L(0); const auto& Lx = _L(0);
const auto& Ly = _L(1); const auto& Ly = _L(1);
const auto& Lz = _L(2); const auto& Lz = _L(2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment