Merge pull request #13298 from mshabunin:fix-intrin-indent

This commit is contained in:
Alexander Alekhin 2018-11-27 13:58:02 +00:00
commit 65f22292ed

View File

@ -686,10 +686,10 @@ OPENCV_HAL_IMPL_CMP_OP(!=)
template<int n> template<int n>
inline v_reg<float, n> v_not_nan(const v_reg<float, n>& a) inline v_reg<float, n> v_not_nan(const v_reg<float, n>& a)
{ {
typedef typename V_TypeTraits<float>::int_type itype; typedef typename V_TypeTraits<float>::int_type itype;
v_reg<float, n> c; v_reg<float, n> c;
for (int i = 0; i < n; i++) for (int i = 0; i < n; i++)
c.s[i] = V_TypeTraits<float>::reinterpret_from_int((itype)-(int)(a.s[i] == a.s[i])); c.s[i] = V_TypeTraits<float>::reinterpret_from_int((itype)-(int)(a.s[i] == a.s[i]));
return c; return c;
} }
template<int n> template<int n>