aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/geometry.c4
-rw-r--r--src/peaks.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 1e61c26d..ed24e9a7 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -284,8 +284,8 @@ double integrate_all(struct image *image, RefList *reflections)
double xp, yp;
get_detector_pos(refl, &xp, &yp);
- if ( integrate_peak(image, xp, yp, &x, &y,
- &intensity, NULL, NULL, NULL, 0, 0) ) continue;
+ if ( integrate_peak(image, xp, yp, &x, &y, &intensity, NULL,
+ NULL, NULL, 0, 0) ) continue;
itot += intensity;
}
diff --git a/src/peaks.c b/src/peaks.c
index 7db2ccc9..efe50b9b 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -380,7 +380,8 @@ static void search_peaks_in_panel(struct image *image, float threshold,
* Don't bother doing polarisation/SA correction, because the
* intensity of this peak is only an estimate at this stage. */
r = integrate_peak(image, mask_fs, mask_ss,
- &f_fs, &f_ss, &intensity, NULL, NULL, NULL, 0, 1);
+ &f_fs, &f_ss, &intensity,
+ NULL, NULL, NULL, 0, 1);
if ( r ) {
/* Bad region - don't detect peak */
nrej_bad++;
@@ -640,7 +641,7 @@ void integrate_reflections(struct image *image, int polar, int use_closer)
/* Record intensity and set redundancy to 1 on success */
if ( r == 0 ) {
set_int(refl, intensity);
- set_esd_intensity(refl,sigma);
+ set_esd_intensity(refl, sigma);
set_redundancy(refl, 1);
}