Fixed typo; removed duplicated call
This commit is contained in:
parent
11ce8683bb
commit
80516ecbe6
@ -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…
Reference in New Issue
Block a user