diff --git a/modules/core/include/opencv2/core/operations.hpp b/modules/core/include/opencv2/core/operations.hpp index f8aeddfb11..ac62dc8270 100644 --- a/modules/core/include/opencv2/core/operations.hpp +++ b/modules/core/include/opencv2/core/operations.hpp @@ -435,7 +435,7 @@ int print(const std::vector >& vec, FILE* stream = stdout) template static inline int print(const Matx<_Tp, m, n>& matx, FILE* stream = stdout) { - return print(Formatter::get()->format(matx), stream); + return print(Formatter::get()->format(cv::Mat(matx)), stream); }