1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

fixed compile warnings

This commit is contained in:
Vadim Pisarevsky
2015-04-16 23:42:00 +03:00
parent ee11a2d266
commit c7121e8772
3 changed files with 21 additions and 12 deletions
+2 -2
View File
@@ -185,7 +185,7 @@ void magnitude(const double* x, const double* y, double* mag, int len)
{
int i = 0;
#if defined CV_SIMD128_64F && CV_SIMD128_64F
#if CV_SIMD128_64F
for( ; i <= len - 4; i += 4 )
{
v_float64x2 x0 = v_load(x + i), x1 = v_load(x + i + 2);
@@ -262,7 +262,7 @@ void sqrt(const double* src, double* dst, int len)
{
int i = 0;
#if defined CV_SIMD128_64F && CV_SIMD128_64F
#if CV_SIMD128_64F
for( ; i <= len - 4; i += 4 )
{
v_float64x2 t0 = v_load(src + i), t1 = v_load(src + i + 2);