aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peaks.c b/src/peaks.c
index a91fba99..0f70642d 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -565,7 +565,7 @@ int peak_sanity_check(struct image *image, UnitCell *cell)
void output_intensities(struct image *image, UnitCell *cell,
- pthread_mutex_t *mutex, int unpolar, int sa)
+ pthread_mutex_t *mutex, int polar, int sa)
{
int i;
int n_found;
@@ -635,7 +635,7 @@ void output_intensities(struct image *image, UnitCell *cell,
* so instead re-integrate using old coordinates.
* This will produce further revised coordinates. */
r = integrate_peak(image, f->x, f->y, &x, &y,
- &intensity, !unpolar, sa);
+ &intensity, polar, sa);
if ( r ) {
/* The original peak (which also went through
* integrate_peak(), but with the mangled
@@ -653,7 +653,7 @@ void output_intensities(struct image *image, UnitCell *cell,
r = integrate_peak(image,
image->hits[i].x,image->hits[i].y,
- &x, &y, &intensity, !unpolar, sa);
+ &x, &y, &intensity, polar, sa);
if ( r ) {
/* Plain old ordinary peak veto */
n_veto++;