aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-08-31 10:50:57 +0200
committerThomas White <taw@physics.org>2017-08-31 10:50:57 +0200
commit62898319b6c59e251685438e3a0ea77eacc8114b (patch)
tree136b49f137d85b57a7d4865a6be24b31da69a0c2 /libcrystfel/src/index.c
parent4690cca38616ba25d70be88e943f73115de26458 (diff)
setup_indexing(): Honour no_refine
Fixes a regression caused by 61565336125, which broke indexamajig --no-refine.
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index b00f13aa..644ea31f 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -181,6 +181,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
free(methods);
return NULL;
}
+ if ( no_refine ) methods[i] &= ~INDEXING_REFINE;
}
ipriv = malloc(sizeof(struct _indexingprivate));