Fixed Tegra optimization stub for gaussian

This commit is contained in:
Andrey Kamaev 2012-01-11 13:16:00 +00:00
parent a25b027ef7
commit 9260ad4d70

View File

@ -433,7 +433,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
}
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::gaussian(src, dst, ksize, borderType))
if(sigma1 == 0 && sigma2 == 0 && tegra::gaussian(src, dst, ksize, borderType))
return;
#endif