fixed input array initialization in ArithmMaskUninitialized test (thanks to Alexander!)

pull/13383/head
Vadim Pisarevsky 13 years ago
parent 97427aa614
commit 2a626e1a2d
  1. 3
      modules/core/test/test_arithm.cpp

@ -1437,6 +1437,9 @@ protected:
Mat mask1;
Mat c, d;
rng.fill(a, RNG::UNIFORM, 0, 100);
rng.fill(b, RNG::UNIFORM, 0, 100);
// [-2,2) range means that the each generated random number
// will be one of -2, -1, 0, 1. Saturated to [0,255], it will become
// 0, 0, 0, 1 => the mask will be filled by ~25%.

Loading…
Cancel
Save