diff --git a/modules/core/include/opencv2/core/cvstd.inl.hpp b/modules/core/include/opencv2/core/cvstd.inl.hpp index faa7fdb0d8..724f2f3815 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