mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Fixed some issues found by static analysis
This commit is contained in:
@@ -675,7 +675,7 @@ void RNG::fill( InputOutputArray _mat, int disttype,
|
||||
|
||||
const Mat* arrays[] = {&mat, 0};
|
||||
uchar* ptr;
|
||||
NAryMatIterator it(arrays, &ptr);
|
||||
NAryMatIterator it(arrays, &ptr, 1);
|
||||
int total = (int)it.size, blockSize = std::min((BLOCK_SIZE + cn - 1)/cn, total);
|
||||
size_t esz = mat.elemSize();
|
||||
AutoBuffer<double> buf;
|
||||
|
||||
Reference in New Issue
Block a user