From a988540d804e46becd904e894f739423240e0937 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 21 Jan 2010 11:01:07 +0100 Subject: Filter peaks which are obviously due to common mode streaks --- src/index.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index f4f009bb..17756bb8 100644 --- a/src/index.c +++ b/src/index.c @@ -82,6 +82,7 @@ void index_pattern(struct image *image, int no_index, int use_dirax) struct imagefeature *f; f = image_get_feature(image->features, i); + if ( f == NULL ) continue; if ( f->y >=512 ) { /* Top half of CCD */ -- cgit v1.2.3