projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea811c
)
compilation errors
author
Anatoly Baksheev
<no@email>
Mon, 1 Nov 2010 12:49:45 +0000
(12:49 +0000)
committer
Anatoly Baksheev
<no@email>
Mon, 1 Nov 2010 12:49:45 +0000
(12:49 +0000)
modules/gpu/include/opencv2/gpu/devmem2d.hpp
patch
|
blob
|
history
diff --git
a/modules/gpu/include/opencv2/gpu/devmem2d.hpp
b/modules/gpu/include/opencv2/gpu/devmem2d.hpp
index
93394bc
..
eb89794
100644
(file)
--- a/
modules/gpu/include/opencv2/gpu/devmem2d.hpp
+++ b/
modules/gpu/include/opencv2/gpu/devmem2d.hpp
@@
-105,7
+105,7
@@
namespace cv
{
\r
this->step /= PtrStep_<T>::elem_size;
\r
}
\r
- __CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step
)
; }
\r
+ __CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step; }
\r
__CV_GPU_HOST_DEVICE__ const T* ptr(int y = 0) const { return data + y * step; }
\r
private:
\r
StaticCheck<256 % sizeof(T) == 0> ElemStepTypeCheck;
\r