aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-10-21 11:53:32 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commitf7d612eb193e718490276b05b55af72cc3e70aac (patch)
treed870de57986f3e80a3350425bc58e72225c364ff /src/indexamajig.c
parent66d003e06152b1da64f28658818771ffa5999286 (diff)
s/hit/cpeak/
Avoid confusion over the use of the word 'hit'.
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index d0260a8e..54d5e630 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -1,7 +1,7 @@
/*
* indexamajig.c
*
- * Find hits, index patterns, output hkl+intensity etc.
+ * Index patterns, output hkl+intensity etc.
*
* (c) 2006-2010 Thomas White <taw@physics.org>
*
@@ -258,8 +258,8 @@ static struct image *get_simage(struct image *template, int alternate)
image->f0 = template->f0;
/* Prevent muppetry */
- image->hits = NULL;
- image->n_hits = 0;
+ image->cpeaks = NULL;
+ image->n_cpeaks = 0;
return image;
}
@@ -317,8 +317,8 @@ static void process_image(void *pp, int cookie)
image.indexed_cell = NULL;
image.id = cookie;
image.filename = filename;
- image.hits = NULL;
- image.n_hits = 0;
+ image.cpeaks = NULL;
+ image.n_cpeaks = 0;
image.det = pargs->static_args.det;
/* View head-on (unit cell is tilted) */
@@ -442,7 +442,7 @@ done:
free(image.data);
free(image.flags);
image_feature_list_free(image.features);
- free(image.hits);
+ free(image.cpeaks);
hdfile_close(hdfile);
}