From 40a30b6f30efaf92d48a41b40155a4058eb5528d Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 19 Oct 2012 13:43:14 +0400 Subject: [PATCH] fixed type "compatible -> incompatible" in the error message --- modules/python/src2/cv2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/src2/cv2.cpp b/modules/python/src2/cv2.cpp index df909d7fe..28cf00eac 100644 --- a/modules/python/src2/cv2.cpp +++ b/modules/python/src2/cv2.cpp @@ -286,7 +286,7 @@ static int pyopencv_to(const PyObject* o, Mat& m, const ArgInfo info, bool allow { if (info.outputarg) { - failmsg("Layout of the output array %s is compatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)", info.name); + failmsg("Layout of the output array %s is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)", info.name); return false; } if( needcast )