Commit b4498d1d authored by vbystricky's avatar vbystricky

Fix some errors

parent 63584bff
......@@ -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;
}
......
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