mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
Merge pull request #7822 from alalek:fix_arithmmask_test
This commit is contained in:
commit
2fded5d8fb
@ -1496,7 +1496,7 @@ TEST(Core_ArithmMask, uninitialized)
|
||||
int depth = rng.uniform(CV_8U, CV_64F+1);
|
||||
int cn = rng.uniform(1, 6);
|
||||
int type = CV_MAKETYPE(depth, cn);
|
||||
int op = rng.uniform(0, 5);
|
||||
int op = rng.uniform(0, depth < CV_32F ? 5 : 2); // don't run binary operations between floating-point values
|
||||
int depth1 = op <= 1 ? CV_64F : depth;
|
||||
for (int k = 0; k < MAX_DIM; k++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user