aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-05 16:21:40 +0100
committerThomas White <taw@physics.org>2013-02-05 16:21:40 +0100
commit2ce85a95d86e350b785d206405e97d7317672188 (patch)
tree5cecce161733acf1a276e5a0b55e5c22f5ffb20d /libcrystfel/src/index.c
parent29cca07716b48f9e433087f5dbb202165b1897e1 (diff)
Indexing pipeline - "done"!
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 2370e26e..821be39a 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -241,7 +241,7 @@ static IndexingMethod set_axes(IndexingMethod a)
}
-IndexingMethod *build_indexer_list(const char *str, int *need_cell)
+IndexingMethod *build_indexer_list(const char *str)
{
int n, i;
char **methods;
@@ -249,9 +249,6 @@ IndexingMethod *build_indexer_list(const char *str, int *need_cell)
int tmp;
int nmeth = 0;
- if ( need_cell == NULL ) need_cell = &tmp;
- *need_cell = 0;
-
n = assplode(str, ",-", &methods, ASSPLODE_NONE);
list = malloc((n+1)*sizeof(IndexingMethod));