fixed the PR 1582

This commit is contained in:
Ilya Lavrenov
2013-10-09 14:07:24 +04:00
parent 6b69a66c3c
commit 488e6aafaf
2 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@
#if defined (FUNC_ABS)
#define EXPRESSION \
T value = (src1[src1_index] > 0) ? src1[src1_index] : -src1[src1_index]; \
T value = src1[src1_index] > (T)(0) ? src1[src1_index] : -src1[src1_index]; \
dst[dst_index] = value;
#endif