Fixed typo; removed duplicated call

This commit is contained in:
Andrey Kamaev 2012-04-18 08:41:00 +00:00
parent 11ce8683bb
commit 80516ecbe6
2 changed files with 2 additions and 4 deletions

View File

@ -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
}

View File

@ -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