Skip to content

Commit a22b981

Browse files
committed
fix code style
1 parent 5ba8e40 commit a22b981

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/xfeatures2d/src/brief.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ inline int smoothedSum(const Mat& sum, const KeyPoint& pt, int y, int x, bool us
9393
{
9494
int rx = (int)(((float)x)*R(1,0) - ((float)y)*R(0,0));
9595
int ry = (int)(((float)x)*R(0,0) + ((float)y)*R(1,0));
96-
if (rx > 24) rx = 24; if (rx < -24) rx = -24;
97-
if (ry > 24) ry = 24; if (ry < -24) ry = -24;
96+
if (rx > 24) rx = 24;
97+
if (rx < -24) rx = -24;
98+
if (ry > 24) ry = 24;
99+
if (ry < -24) ry = -24;
98100
x = rx; y = ry;
99101
}
100102
const int img_y = (int)(pt.pt.y + 0.5) + y;

0 commit comments

Comments
 (0)