aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/dirax.c')
-rw-r--r--libcrystfel/src/indexers/dirax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/indexers/dirax.c b/libcrystfel/src/indexers/dirax.c
index ef90a3f7..d1be9e7c 100644
--- a/libcrystfel/src/indexers/dirax.c
+++ b/libcrystfel/src/indexers/dirax.c
@@ -228,10 +228,10 @@ static void dirax_parseline(const char *line, struct image *image,
&d, &d, &d, &d, &d, &d, &di) == 9 ) {
if ( acl_nh > dirax->best_acl_nh ) {
- int i, found = 0;
+ int i_acl, found = 0;
- for ( i=0; i<dirax->n_acls_tried; i++ ) {
- if ( dirax->acls_tried[i] == acl ) found = 1;
+ for ( i_acl=0; i_acl<dirax->n_acls_tried; i_acl++ ) {
+ if ( dirax->acls_tried[i_acl] == acl ) found = 1;
}
if ( !found ) {