diff --git a/gtsam/geometry/Rot3.cpp b/gtsam/geometry/Rot3.cpp index c1247da2e..aaf23e685 100644 --- a/gtsam/geometry/Rot3.cpp +++ b/gtsam/geometry/Rot3.cpp @@ -33,7 +33,7 @@ namespace gtsam { /* ************************************************************************* */ void Rot3::print(const std::string& s) const { cout << (s.empty() ? "R: " : s + " "); - gtsam::print((Matrix)matrix()); + gtsam::print(static_cast(matrix())); } /* ************************************************************************* */