diff options
author | Thomas White <taw@physics.org> | 2021-01-07 11:41:35 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-01-07 12:27:05 +0100 |
commit | 801aca3557fed6883ccc7a84b5ca38005cb6244c (patch) | |
tree | 773588f5ddcd445f707c88510161d09c8b015d5d | |
parent | 92b7e91991540a9c0d2d41989beb496c4d60a978 (diff) |
Formatting fussiness
-rw-r--r-- | libcrystfel/src/integration.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index c15d66ba..d859b45d 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -908,9 +908,11 @@ static int check_box(struct intcontext *ic, struct peak_box *bx, int *sat) bx->bm[p+ic->w*q] = BM_BH; } + /* Find brightest pixel */ if ( (bx->bm[p+ic->w*q] != BM_IG) && (bx->bm[p+ic->w*q] != BM_BH) - && (boxi(ic, bx, p, q) > bx->peak) ) { + && (boxi(ic, bx, p, q) > bx->peak) ) + { bx->peak = boxi(ic, bx, p, q); } |