diff options
Diffstat (limited to 'libcrystfel/src/geometry.c')
-rw-r--r-- | libcrystfel/src/geometry.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index e5506334..ef75199a 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -412,6 +412,7 @@ static Reflection *check_reflection(struct image *image, Crystal *cryst, set_lorentz(refl, 1.0); set_symmetric_indices(refl, h, k, l); set_redundancy(refl, 1); + set_partiality(refl, partiality); return refl; } @@ -903,6 +904,11 @@ void calculate_partialities(Crystal *cryst, PartialityModel pmodel) set_random_partialities(cryst); break; + case PMODEL_GGPM : + /* Do nothing, because this is the model used for prediction, + * so the partialities have been set by check_reflection */ + break; + default : ERROR("Unknown partiality model %i\n", pmodel); break; |