diff options
author | Thomas White <taw@physics.org> | 2016-10-19 14:38:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-10-19 14:38:47 +0200 |
commit | 2d2b1219b9ee8689b36056f32b97fbd5349c9fc1 (patch) | |
tree | 9b7ef5a47a719faba92a257960c77233ca5ea61b /libcrystfel | |
parent | d38bf1bc8a3924e796d4d934cd7999232585f281 (diff) |
D'oh
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/taketwo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index 7154c080..49a3c933 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -254,7 +254,7 @@ static double matrix_trace(gsl_matrix *a) double tr = 0.0; assert(a->size1 == a->size2); - for ( i=0; i<a->size1; a++ ) { + for ( i=0; i<a->size1; i++ ) { tr += gsl_matrix_get(a, i, i); } return tr; |