updated transpose signature for Rot3Q
parent
510d5c500c
commit
359bc161a6
|
@ -79,11 +79,9 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
// TODO: Could we do this? It works in Rot3M but not here, probably because
|
const Eigen::Transpose<const Matrix3> Rot3::transpose() const {
|
||||||
// here we create an intermediate value by calling matrix()
|
// `.eval()` to avoid aliasing effect due to transpose (allows compilation).
|
||||||
// const Eigen::Transpose<const Matrix3> Rot3::transpose() const {
|
return matrix().eval().transpose();
|
||||||
Matrix3 Rot3::transpose() const {
|
|
||||||
return matrix().transpose();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue