Skip to content

Commit

Permalink
Build fix for non-TEGRA case.
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Jan 14, 2015
1 parent 1fa37fe commit 54f52c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/stitching/src/blenders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54f52c3

Please sign in to comment.