From cea1984e5bbf5636ffc78ec1787f0ac5d1054476 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 20 Oct 2016 11:19:57 +0200 Subject: Fix indices --- libcrystfel/src/taketwo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') 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 ) { -- cgit v1.2.3