Commit 40a30b6f authored by Vadim Pisarevsky's avatar Vadim Pisarevsky Committed by Andrey Kamaev

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

parent d652cc72
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment