Fixed typo; removed duplicated call

pull/13383/head
Andrey Kamaev 13 years ago
parent 11ce8683bb
commit 80516ecbe6
  1. 2
      modules/core/src/rand.cpp
  2. 4
      modules/imgproc/src/smooth.cpp

@ -247,7 +247,7 @@ static void randf_32f( float* arr, int len, uint64* state, const Vec2f* p, bool
_mm_set_ss(p[i][1]))
);
#else
arr[i] += (int)temp*p[i][0] + p[i][1];
arr[i] = (int)temp*p[i][0] + p[i][1];
#endif
}

@ -312,9 +312,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
ksize.width = 1;
}
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::box(src, dst, ksize, borderType))
return;
if ( tegra::boxFilter(src, dst, ksize, anchor, normalize, borderType) )
if ( tegra::box(src, dst, ksize, anchor, normalize, borderType) )
return;
#endif

Loading…
Cancel
Save