aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-02-29 06:39:35 -0800
committerThomas White <taw@physics.org>2016-02-29 06:39:35 -0800
commit75c0c624ae244f9ac68a060135c582cffe5e2d01 (patch)
tree8dd3b778f30e6d1f9cea7b50dc378386638fbcef /libcrystfel
parente920fe4d6eb3928986d5a1ad62e492f2bb623728 (diff)
Formatting
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/asdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index c52b04ff..80148c65 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -395,7 +395,7 @@ static float find_ds_fft(double *projections, int N_projections, double d_max,
in[i] = 0;
}
- for ( i = 0; i < n; i++ ) {
+ for ( i=0; i<n; i++ ) {
k = (int)((projections_sorted[i] - projections_sorted[0]) /
(projections_sorted[n - 1] - projections_sorted[0]) *
(N - 1));