From aa18546d7ca2a3d0cc99087d5b671e448cd0f297 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 21 Feb 2020 13:58:27 -0500 Subject: [PATCH] use in-built stream support for translation vector rather than duplication of code --- gtsam/geometry/Pose3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/Pose3.cpp b/gtsam/geometry/Pose3.cpp index 0acadf5bc..31033a027 100644 --- a/gtsam/geometry/Pose3.cpp +++ b/gtsam/geometry/Pose3.cpp @@ -106,7 +106,7 @@ Vector6 Pose3::adjointTranspose(const Vector6& xi, const Vector6& y, void Pose3::print(const string& s) const { cout << s; R_.print("R:\n"); - cout << '[' << t_.x() << ", " << t_.y() << ", " << t_.z() << "]\';"; + cout << t_ << ";" << endl; } /* ************************************************************************* */