提交 4cc167c5 编写于 作者: A Alexander Shishkov

fixed problem with norm in opencv_test_core

上级 9df99915
......@@ -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;
uint isum = 0;
uint *ibuf = (uint*)&result;
size_t esz = 0;
if( blockSum )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册