mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
disable OpenCL difference norms with mask, since some of the tests fail
This commit is contained in:
parent
1310dc4ca2
commit
f42bb0bd65
@ -2540,7 +2540,7 @@ static bool ocl_norm( InputArray _src1, InputArray _src2, int normType, InputArr
|
||||
normType &= ~NORM_RELATIVE;
|
||||
bool normsum = normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR;
|
||||
|
||||
if ( !(normType == NORM_INF || normsum) )
|
||||
if ( !(normType == NORM_INF || normsum) || !_mask.empty() )
|
||||
return false;
|
||||
|
||||
if (normsum)
|
||||
|
Loading…
Reference in New Issue
Block a user