Add support for GpuMat in InputArray::isContinuous()

pull/7234/head
Sergey Alexandrov 8 years ago
parent d102ea96c0
commit 765dd30981
  1. 3
      modules/core/src/matrix.cpp

@ -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;
}

Loading…
Cancel
Save