Commit f13e05cd authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #2740 from ilya-lavrenov:tapi_norm_fix

parents 46d672dc f64dfeb2
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
if (mask[mask_index]) \ if (mask[mask_index]) \
{ \ { \
temp = loadpix(srcptr + src_index); \ temp = loadpix(srcptr + src_index); \
maxval = max(maxval, (srcT)(temp >= 0 ? temp : -temp)); \ maxval = max(maxval, (srcT)(temp >= (srcT)(0) ? temp : -temp)); \
} }
#define SET_LOCAL_1 \ #define SET_LOCAL_1 \
localmem_max[lid] = maxval localmem_max[lid] = maxval
......
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