fixed type "compatible -> incompatible" in the error message

This commit is contained in:
Vadim Pisarevsky 2012-10-19 13:43:14 +04:00 committed by Andrey Kamaev
parent d652cc72f2
commit 40a30b6f30

View File

@ -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 )