use static_cast for Rot3 matrix

release/4.3a0
Varun Agrawal 2020-06-19 16:06:33 -05:00
parent d7522ab970
commit e4b30fd580
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace gtsam {
/* ************************************************************************* */ /* ************************************************************************* */
void Rot3::print(const std::string& s) const { void Rot3::print(const std::string& s) const {
cout << (s.empty() ? "R: " : s + " "); cout << (s.empty() ? "R: " : s + " ");
gtsam::print((Matrix)matrix()); gtsam::print(static_cast<Matrix>(matrix()));
} }
/* ************************************************************************* */ /* ************************************************************************* */