From: Vincent Rabaud Date: Sun, 3 Feb 2013 13:31:59 +0000 (+0100) Subject: define the default remapping in the right scope X-Git-Tag: accepted/2.0/20130307.220821~129^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d235c3a6780d1cab25dd07847ff9eb6938dd6ae6;p=profile%2Fivi%2Fopencv.git define the default remapping in the right scope --- diff --git a/modules/features2d/src/brisk.cpp b/modules/features2d/src/brisk.cpp index ad8c698..d1fa0c9 100644 --- a/modules/features2d/src/brisk.cpp +++ b/modules/features2d/src/brisk.cpp @@ -309,10 +309,9 @@ BRISK::generateKernel(std::vector &radiusList, std::vector &numberLi { indexChange.resize(points_ * (points_ - 1) / 2); indSize = (unsigned int)indexChange.size(); - } - for (unsigned int i = 0; i < indSize; i++) - { - indexChange[i] = i; + + for (unsigned int i = 0; i < indSize; i++) + indexChange[i] = i; } const float dMin_sq = dMin_ * dMin_; const float dMax_sq = dMax_ * dMax_;