aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorcppxfel <helenginn@Helen'sMacBookPro>2017-06-19 17:23:31 +0200
committercppxfel <helenginn@Helen'sMacBookPro>2017-06-19 17:23:31 +0200
commit830c02639a533e6e239b41817a9b1d04b09e2ae0 (patch)
tree645071103a0b61bd7954e632e2cfed02e77d3876 /libcrystfel
parentb1431a52affcbe1bba4121441fb4194146668641 (diff)
Compile error sorted and some code re-added
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/taketwo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index a3c9efb0..d42b2c13 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -624,7 +624,7 @@ static int obs_vecs_match_angles(struct SpotVec *her_obs,
}
// check the third vector
- /*
+
struct rvec theory_diff = diff_vec(*his_match, *her_match);
struct rvec obs_diff = diff_vec(his_obs->obsvec,
her_obs->obsvec);
@@ -643,7 +643,7 @@ static int obs_vecs_match_angles(struct SpotVec *her_obs,
if (fabs(obs_cos - theory_cos) > COSINE_TOLERANCE) {
continue;
- }*/
+ }
size_t new_size = (*match_count + 1) *
sizeof(int);
@@ -795,7 +795,7 @@ static signed int find_next_index(gsl_matrix *rot, struct SpotVec *obs_vecs,
/* now we check that angles between all vectors match */
// int matches = obs_angles_match_array(obs_vecs, i, obs_members,
- // match_members, member_num);
+ //match_members, member_num);
// if ( !matches ) continue;