Build fix for non-TEGRA case.

This commit is contained in:
Alexander Smorkalov 2015-01-13 23:33:01 +03:00
parent 1fa37fe733
commit 54f52c3f45

View File

@ -476,9 +476,9 @@ static bool ocl_normalizeUsingWeightMap(InputArray _weight, InputOutputArray _ma
void normalizeUsingWeightMap(InputArray _weight, InputOutputArray _src)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
Mat weight = _weight.getMat();
Mat src = _src.getMat();
Mat weight = _weight.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::normalizeUsingWeightMap(weight, src))
return;
#endif