aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-27 11:21:04 +0200
committerThomas White <taw@physics.org>2017-09-27 11:21:04 +0200
commite0abfde832a4fc3c591edc1631a71cdf03a5c1ee (patch)
treea259c2775d683c7dd2e30195fa87883fa629027c /libcrystfel/src/index.c
parentc00eb179712102d66b74a360c65e7cd451103e0b (diff)
Don't reset user flag to zero
Some indexing methods may set it to 1 already, in which case we should take the hint.
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index e2344e36..a9b504fe 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -567,7 +567,6 @@ static int try_indexer(struct image *image, IndexingMethod indm,
Crystal *cr = image->crystals[this_crystal];
crystal_set_image(cr, image);
- crystal_set_user_flag(cr, 0);
crystal_set_profile_radius(cr, 0.02e9);
crystal_set_mosaicity(cr, 0.0);