aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-10-20 11:19:57 +0200
committerThomas White <taw@physics.org>2016-10-20 11:21:35 +0200
commitcea1984e5bbf5636ffc78ec1787f0ac5d1054476 (patch)
treefe1b6e1ed75e84370fcd027c28f11c8bd34d2fc9 /libcrystfel/src
parent8483ac19d1b6e30d4c17472cda59b74030c87db2 (diff)
Fix indices
Diffstat (limited to 'libcrystfel/src')
-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 52c95c06..bc27faf7 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -620,7 +620,7 @@ static int find_seed_and_network(struct SpotVec *obs_vecs, int obs_vec_count,
/* try to expand this rotation matrix to a larger network */
int success = grow_network(rot_mat, obs_vecs, obs_vec_count,
- i_idx, j_idx);
+ i, j);
/* return this matrix or free it and try again */
if ( success ) {