aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/detector.c2
-rw-r--r--src/diffraction.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/detector.c b/src/detector.c
index 9de99e6c..f2f41320 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -166,6 +166,6 @@ void record_image(struct image *image)
}
}
-
+
image->data = bloom(image->hdr, image->width, image->height);
}
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;