Tiny typo, lots of mallocs!

release/4.3a0
dellaert 2016-01-17 23:39:43 -08:00
parent af40679dbf
commit e6b9c6fc95
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ namespace gtsam {
* Exponential map at identity - create a rotation from canonical coordinates
* \f$ [R_x,R_y,R_z] \f$ using Rodrigues' formula
*/
static Rot3 Expmap(const Vector& v, OptionalJacobian<3,3> H = boost::none) {
static Rot3 Expmap(const Vector3& v, OptionalJacobian<3,3> H = boost::none) {
if(H) *H = Rot3::ExpmapDerivative(v);
#ifdef GTSAM_USE_QUATERNIONS
return traits<Quaternion>::Expmap(v);