aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-11-18 15:13:38 +0100
committerThomas White <taw@bitwiz.org.uk>2009-11-18 15:13:38 +0100
commit99569f2f6cf574e88441d3de888f825b6d7b2ed7 (patch)
treef89aba166fc77a404e0880700fd9a204e60dba95 /src/diffraction.c
parentc77d160603298560b89243dda34fd81ee52d3d10 (diff)
Whitespace
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index 32601046..8d26dc7c 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -86,15 +86,15 @@ static double complex molecule_factor(struct molecule *mol, struct threevec q,
double ph;
ph= q.u*spec->x[j] + q.v*spec->y[j] + q.w*spec->z[j];
-
+
/* Conversion from revolutions to radians is required */
contrib += cos(2.0*M_PI*ph) + I*sin(2.0*M_PI*ph);
-
+
}
sfac = get_sfac(spec->species, s, en);
F += sfac * contrib * exp(-2.0 * spec->B[j] * s);
-
+
}
return F;