From b4972dfd829faad526d77c4650830341bde135cb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Jul 2013 15:47:33 +0200 Subject: Use the correct reference list for selection --- src/partialator.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index db25a8ca..a282744e 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -624,13 +624,8 @@ int main(int argc, char *argv[]) STATUS("Post refinement cycle %i of %i\n", i+1, n_iter); - if ( reference == NULL ) { - comp = full; - } else { - comp = reference; - } - /* Refine the geometry of all patterns to get the best fit */ + comp = (reference == NULL) ? full : reference; select_reflections_for_refinement(crystals, n_crystals, comp, have_reference); refine_all(crystals, n_crystals, det, comp, nthreads, pmodel); -- cgit v1.2.3