summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--harris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/harris.c b/harris.c
index 0fdefb7..50d7ff9 100644
--- a/harris.c
+++ b/harris.c
@@ -141,7 +141,7 @@ check_neighbours(struct mat2 *m, int x, int y, int width, int height)
{
int i, j;
gboolean max = TRUE;
- int n = 3;
+ int n = 2;
for (j = MAX(0, y-n); j < MIN(y+n, height-1); ++j) {
for (i = MAX(0, x-n); i < MIN(x+n, width-1); ++i) {