diff options
author | Helen Ginn <helen@strubi.ox.ac.uk> | 2018-04-21 21:06:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-05-02 09:46:13 +0200 |
commit | b23b43b669a9a467bd5ed2f523dca943a75415e5 (patch) | |
tree | 521f0ce29d239d750bc02293d7f73b2ae0c8a950 /libcrystfel | |
parent | 3a1a141ebf4f460665fb0d18fe063cb3393e81af (diff) |
Declare integer outside for loop
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/taketwo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index 52602f14..efb5417d 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -1110,7 +1110,8 @@ static int grow_network(gsl_matrix *rot, int obs_idx1, int obs_idx2, *max_members = member_num; } - for (int n = 0; n < member_num; n++) + int n; + for (n = 0; n < member_num; n++) { STATUS("*"); } |