projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63584bf
)
Fix some errors
author
vbystricky
<user@user-pc.(none)>
Mon, 26 May 2014 12:55:31 +0000
(16:55 +0400)
committer
vbystricky
<user@user-pc.(none)>
Mon, 26 May 2014 12:55:31 +0000
(16:55 +0400)
modules/core/src/matrix.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/matrix.cpp
b/modules/core/src/matrix.cpp
index
86b63db
..
70b2202
100644
(file)
--- a/
modules/core/src/matrix.cpp
+++ b/
modules/core/src/matrix.cpp
@@
-3471,7
+3471,7
@@
static bool ocl_reduce(InputArray _src, OutputArray _dst,
return false;
if (op0 == CV_REDUCE_AVG)
- temp.convertTo(dst, ddepth0, 1. /
(dim == 0 ? src.rows : src.cols)
);
+ temp.convertTo(dst, ddepth0, 1. /
src.cols
);
return true;
}