Skip to content
Snippets Groups Projects
Commit 85473366 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #243 from nmansard/topic/se3explicit

[Spatial][Minor] Make SE3 constructor from rotation explicit 
parents ec2a5f5a 6d5752f3
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ namespace se3
}
template<typename M4>
SE3Tpl(const Eigen::MatrixBase<M4> & m)
explicit SE3Tpl(const Eigen::MatrixBase<M4> & m)
: rot(m.template block<3,3>(LINEAR,LINEAR)), trans(m.template block<3,1>(LINEAR,ANGULAR))
{
EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(M4,4,4);
......
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