[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd_src nonmax_suppression.cxx
From: |
Georg Klein |
Subject: |
[libcvd-members] libcvd/cvd_src nonmax_suppression.cxx |
Date: |
Wed, 15 Aug 2007 17:08:50 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Georg Klein <georgklein> 07/08/15 17:08:50
Modified files:
cvd_src : nonmax_suppression.cxx
Log message:
Another minor memory violation
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd_src/nonmax_suppression.cxx?cvsroot=libcvd&r1=1.3&r2=1.4
Patches:
Index: nonmax_suppression.cxx
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd_src/nonmax_suppression.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- nonmax_suppression.cxx 3 Aug 2007 15:02:03 -0000 1.3
+++ nonmax_suppression.cxx 15 Aug 2007 17:08:50 -0000 1.4
@@ -84,7 +84,7 @@
}
//Check below (if there is anything below)
- if(pos.y != last_row-1 && row_start[pos.y + 1] != -1 &&
point_below < sz) //Nothing below
+ if(pos.y != last_row && row_start[pos.y + 1] != -1 &&
point_below < sz) //Nothing below
{
if(corners[point_below].y < pos.y + 1)
point_below = row_start[pos.y+1];