aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcppxfel <helenginn@Helen'sMacBookPro>2017-06-29 16:36:49 +0100
committercppxfel <helenginn@Helen'sMacBookPro>2017-06-29 16:36:49 +0100
commit6d07a1b35e83ce5bd803702a7c083365bf14efd0 (patch)
treef7ab8644b4f19d1b116f554372d1ec973a0abedb
parent6ebf72a7fb71e68329ed2591a1f5858699026af6 (diff)
Should not limit to proceeding vectors only when a new spot may have been included\!
-rw-r--r--libcrystfel/src/taketwo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index 1a76614c..176526ba 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -789,7 +789,7 @@ static signed int find_next_index(gsl_matrix *rot, struct SpotVec *obs_vecs,
gsl_matrix *twiz2 = gsl_matrix_calloc(3, 3);
- for ( i=start; i<obs_vec_count && i < start + 1000; i++ ) {
+ for ( i=start; i<obs_vec_count; i++ ) {
/* first we check for a shared spot - harshest condition */
int shared = obs_shares_spot_w_array(obs_vecs, i, obs_members,