diff --git a/g2o/types/slam2d/edge_se2_pointxy_bearing.cpp b/g2o/types/slam2d/edge_se2_pointxy_bearing.cpp index cda1ecf8f..ba8ddb907 100644 --- a/g2o/types/slam2d/edge_se2_pointxy_bearing.cpp +++ b/g2o/types/slam2d/edge_se2_pointxy_bearing.cpp @@ -52,7 +52,6 @@ void EdgeSE2PointXYBearing::initialEstimate( l2->setEstimate(t * vr); } - #ifndef NUMERIC_JACOBIAN_TWO_D_TYPES void EdgeSE2PointXYBearing::linearizeOplus() { const VertexSE2* vi = static_cast(_vertices[0]); @@ -71,7 +70,6 @@ void EdgeSE2PointXYBearing::linearizeOplus() { _jacobianOplusXj(0, 0) = (y2 - y1) / aux; _jacobianOplusXj(0, 1) = (x1 - x2) / aux; - } #endif