mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Merge pull request #13298 from mshabunin:fix-intrin-indent
This commit is contained in:
commit
65f22292ed
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user