diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-02-06 21:20:01 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:13 +0100 |
commit | 1a206036c00ca86270fe59bfc475dd059bf38969 (patch) | |
tree | 5c63c3cd610a0d936940a5278ed6ad4f6088032f /src/indexamajig.c | |
parent | 155ca0064e5605a345d141202d6cbf7dce9a220b (diff) |
Start work on binary tree
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 6c01f95e..40d7cbd8 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -263,8 +263,7 @@ static struct image *get_simage(struct image *template, int alternate) image->f0 = template->f0; /* Prevent muppetry */ - image->cpeaks = NULL; - image->n_cpeaks = 0; + image->reflections = NULL; return image; } @@ -326,8 +325,7 @@ static void process_image(void *pp, int cookie) image.indexed_cell = NULL; image.id = cookie; image.filename = filename; - image.cpeaks = NULL; - image.n_cpeaks = 0; + image.reflections = NULL; image.det = pargs->static_args.det; STATUS("Processing '%s'\n", image.filename); @@ -434,7 +432,7 @@ done: free(image.data); free(image.flags); image_feature_list_free(image.features); - free(image.cpeaks); + reflist_free(image.reflections); hdfile_close(hdfile); } |