aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-21 11:01:07 +0100
committerThomas White <taw@physics.org>2010-01-21 11:06:04 +0100
commita988540d804e46becd904e894f739423240e0937 (patch)
tree24d237b2e466843e5bf30e0a784b0649c8a011a0 /src/index.c
parent4f8424fd5406cdfd05a38b101f386fd6d57a2d8a (diff)
Filter peaks which are obviously due to common mode streaks
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c1
1 files changed, 1 insertions, 0 deletions
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 */