mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fix bug with ostream operator>> for Transform
This commit is contained in:
@@ -282,9 +282,9 @@ std::ostream& operator<<(std::ostream& os, const Transform& s)
|
||||
{
|
||||
for(int j = 0; j < 4; ++j)
|
||||
{
|
||||
std::cout << std::left << std::setw(12) << s.data()[i*4 + j];
|
||||
os << std::left << std::setw(12) << s.data()[i*4 + j];
|
||||
}
|
||||
std::cout << std::endl;
|
||||
os << std::endl;
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user