diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-27 17:46:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:51 +0100 |
commit | ce87fce11cbbbdc1c8ff1611eaf3255809ab6c87 (patch) | |
tree | 56924d92f778156df95bd2a81e36ef90deac104e /src/peaks.c | |
parent | c4f950362d6f1d5a14f0897c15148021e6854efb (diff) |
Rationalise polarization option
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 6 |
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++; |