Commit 7f56e5b2 authored by Anatoly Baksheev's avatar Anatoly Baksheev

compilation errors

parent 4ea811c5
......@@ -105,7 +105,7 @@ namespace cv
{
this->step /= PtrStep_<T>::elem_size;
}
__CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step); }
__CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step; }
__CV_GPU_HOST_DEVICE__ const T* ptr(int y = 0) const { return data + y * step; }
private:
StaticCheck<256 % sizeof(T) == 0> ElemStepTypeCheck;
......
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