diff --git a/gtsam/base/Matrix.cpp b/gtsam/base/Matrix.cpp index f9a2e83a9..e2d8f71d1 100644 --- a/gtsam/base/Matrix.cpp +++ b/gtsam/base/Matrix.cpp @@ -144,10 +144,10 @@ void print(const Matrix& A, const string &s, ostream& stream) { 0, // flags ", ", // coeffSeparator ";\n", // rowSeparator - " \t", // rowPrefix + "\t", // rowPrefix "", // rowSuffix "[\n", // matPrefix - "\n ]" // matSuffix + "\n]" // matSuffix ); cout << s << A.format(matlab) << endl; } diff --git a/gtsam/geometry/Pose3.h b/gtsam/geometry/Pose3.h index e90f91127..fa55f98de 100644 --- a/gtsam/geometry/Pose3.h +++ b/gtsam/geometry/Pose3.h @@ -44,7 +44,7 @@ public: private: Rot3 R_; ///< Rotation gRp, between global and pose frame - Point3 t_; ///< Translation gTp, from global origin to pose frame origin + Point3 t_; ///< Translation gPp, from global origin to pose frame origin public: