diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hrs-scaling.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index d91a36d9..5acb247f 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -141,7 +141,13 @@ static void run_scale_job(void *vwargs, int cookie) corr = get_partiality(refl) * get_lorentz(refl); break; + default : + ERROR("Unrecognised partiality model!\n"); + abort(); + break; + } + Ihl = get_intensity(refl) / corr; esd = get_esd_intensity(refl) / corr; @@ -282,6 +288,11 @@ static void run_merge_job(void *vwargs, int cookie) corr = get_partiality(refl) * get_lorentz(refl); break; + default : + ERROR("Unrecognised partiality model!\n"); + abort(); + break; + } Ihl = get_intensity(refl) / corr; @@ -416,8 +427,12 @@ static void run_esd_job(void *vwargs, int cookie) corr = get_partiality(refl) * get_lorentz(refl); break;; - } + default : + ERROR("Unrecognised partiality model!\n"); + abort(); + break; + } Ih = get_intensity(f); Ihl = get_intensity(refl) / (corr * G); |