diff --git a/gtsam.h b/gtsam.h index 793570b3a..b21b59a1a 100644 --- a/gtsam.h +++ b/gtsam.h @@ -20,7 +20,7 @@ * Methods * - Constness has no effect * - Specify by-value (not reference) return types, even if C++ method returns reference - * - Must start with a lowercase letter + * - Must start with a letter (upper or lowercase) * - Overloads are supported * Static methods * - Must start with a letter (upper or lowercase) and use the "static" keyword @@ -495,8 +495,8 @@ virtual class Pose3 : gtsam::Value { // Lie Group static gtsam::Pose3 Expmap(Vector v); static Vector Logmap(const gtsam::Pose3& p); - Matrix adjointMap() const; - Vector adjoint(const Vector& xi) const; + Matrix AdjointMap() const; + Vector Adjoint(Vector xi) const; static Matrix wedge(double wx, double wy, double wz, double vx, double vy, double vz); // Group Action on Point3 diff --git a/wrap/Module.cpp b/wrap/Module.cpp index c6e60b447..d5bbd881e 100644 --- a/wrap/Module.cpp +++ b/wrap/Module.cpp @@ -251,7 +251,7 @@ void Module::parseMarkup(const std::string& data) { Rule returnType_p = void_p | pair_p | returnType1_p; - Rule methodName_p = lexeme_d[lower_p >> *(alnum_p | '_')]; + Rule methodName_p = lexeme_d[(upper_p | lower_p) >> *(alnum_p | '_')]; Rule method_p = (returnType_p >> methodName_p[assign_a(methodName)] >>