diff options
-rw-r--r-- | libcrystfel/src/integration.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index caf1bbe9..a991d6ed 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1151,6 +1151,8 @@ static void measure_all_intensities(IntegrationMethod meth, RefList *list, r = center_and_check_box(&ic, bx, &saturated); } else { r = check_box(&ic, bx, &saturated); + bx->offs_fs = 0.0; + bx->offs_ss = 0.0; } if ( r ) { delete_box(&ic, bx); @@ -1593,6 +1595,8 @@ static void integrate_rings(IntegrationMethod meth, Crystal *cr, r = center_and_check_box(&ic, bx, &saturated); } else { r = check_box(&ic, bx, &saturated); + bx->offs_fs = 0.0; + bx->offs_ss = 0.0; } if ( r ) { delete_box(&ic, bx); |