Merge pull request #7234 from taketwo:is-continuous-gpu-mat

This commit is contained in:
Alexander Alekhin 2016-09-05 10:46:40 +00:00
commit c62931f000

View File

@ -1998,6 +1998,9 @@ bool _InputArray::isContinuous(int i) const
return vv[i].isContinuous();
}
if( k == CUDA_GPU_MAT )
return i < 0 ? ((const cuda::GpuMat*)obj)->isContinuous() : true;
CV_Error(CV_StsNotImplemented, "Unknown/unsupported array type");
return false;
}