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:
9df9991
)
fixed problem with norm in opencv_test_core
author
Alexander Shishkov
<no@email>
Mon, 13 Jun 2011 18:03:33 +0000
(18:03 +0000)
committer
Alexander Shishkov
<no@email>
Mon, 13 Jun 2011 18:03:33 +0000
(18:03 +0000)
modules/core/src/stat.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/stat.cpp
b/modules/core/src/stat.cpp
index
26d77ef
..
c77a50d
100644
(file)
--- a/
modules/core/src/stat.cpp
+++ b/
modules/core/src/stat.cpp
@@
-1164,8
+1164,8
@@
double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
int j, total = (int)it.size, blockSize = total, intSumBlockSize = 0, count = 0;
bool blockSum = (normType == NORM_L1 && depth <= CV_16S) ||
(normType == NORM_L2 && depth <= CV_8S);
- int isum = 0;
-
int *ibuf = (
int*)&result;
+
u
int isum = 0;
+
uint *ibuf = (u
int*)&result;
size_t esz = 0;
if( blockSum )