mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Fixing Matx ostream operator
cv::Matx could not be converted to c::Mat automatically
This commit is contained in:
parent
4d474d40e7
commit
e310added4
@ -198,7 +198,7 @@ std::ostream& operator << (std::ostream& out, const std::vector<Point3_<_Tp> >&
|
||||
template<typename _Tp, int m, int n> static inline
|
||||
std::ostream& operator << (std::ostream& out, const Matx<_Tp, m, n>& matx)
|
||||
{
|
||||
return out << Formatter::get()->format(matx);
|
||||
return out << Formatter::get()->format(Mat(matx));
|
||||
}
|
||||
|
||||
template<typename _Tp> static inline
|
||||
|
Loading…
Reference in New Issue
Block a user