Skip to content

Commit

Permalink
Moved x = 0 into the parenthesis
Browse files Browse the repository at this point in the history
Easier to understand
  • Loading branch information
ziyangli committed Mar 10, 2014
1 parent 70e22b6 commit 786e3b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/calib3d/src/stereobm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ static void prefilterNorm( const Mat& src, Mat& dst, int winsize, int ftzero, uc
const uchar* curr = sptr + srcstep*y;
const uchar* next = sptr + srcstep*MIN(y+1,size.height-1);
uchar* dptr = dst.ptr<uchar>(y);
x = 0;

for( ; x < size.width; x++ )

for( x = 0; x < size.width; x++ )
vsum[x] = (ushort)(vsum[x] + bottom[x] - top[x]);

for( x = 0; x <= wsz2; x++ )
Expand Down

0 comments on commit 786e3b9

Please sign in to comment.