From: Philipp Hasper Date: Sun, 31 Aug 2014 12:37:43 +0000 (+0200) Subject: Fixing Matx ostream operator X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2972^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e310added4ba598b003af9b0bf7b333a3196516d;p=platform%2Fupstream%2Fopencv.git Fixing Matx ostream operator cv::Matx could not be converted to c::Mat automatically --- diff --git a/modules/core/include/opencv2/core/cvstd.inl.hpp b/modules/core/include/opencv2/core/cvstd.inl.hpp index faa7fdb..724f2f3 100644 --- a/modules/core/include/opencv2/core/cvstd.inl.hpp +++ b/modules/core/include/opencv2/core/cvstd.inl.hpp @@ -198,7 +198,7 @@ std::ostream& operator << (std::ostream& out, const std::vector >& template 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 static inline