aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-22 15:20:45 +0200
committerThomas White <taw@physics.org>2017-09-22 15:20:45 +0200
commit7620fbe1a63a6ebb88cb573559dfddcdc4708750 (patch)
tree2e2d443c512079784df8ad3aaf2326e69500802f /libcrystfel/src/index.c
parentb685aaff356c970d13439033b1d7754ac9ab15df (diff)
Fix silly mistake in friendly_indexer_name()
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index ed791ff1..a9fff11a 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -182,7 +182,7 @@ static char *friendly_indexer_name(IndexingMethod m)
{
char *base = base_indexer_str(m & INDEXING_METHOD_MASK);
if ( (m & INDEXING_USE_CELL_PARAMETERS)
- && (m & INDEXING_USE_CELL_PARAMETERS) ) {
+ && (m & INDEXING_USE_LATTICE_TYPE) ) {
strcat(base, " using cell parameters and Bravais lattice type "
"as prior information");
} else if ( m & INDEXING_USE_CELL_PARAMETERS ) {