aboutsummaryrefslogtreecommitdiff
path: root/src/process_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-08-30 16:15:25 +0200
committerThomas White <taw@physics.org>2019-09-02 13:14:32 +0200
commit79a84416f85a478206867dd8eee7ef157928057f (patch)
tree681815ec270b366fd8a04c6bdf12b978840dcab3 /src/process_hkl.c
parent1df82f92bb366bac6bb2e7e6e04506b2d22dab0e (diff)
Don't need separate wavelength for polarisation correction
Can use kpred
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r--src/process_hkl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 5e17f31c..4ace75f4 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -271,8 +271,7 @@ static int merge_crystal(RefList *model, struct image *image, Crystal *cr,
new_refl = crystal_get_reflections(cr);
/* First, correct for polarisation */
- polarisation_correction(new_refl, crystal_get_cell(cr),
- image->lambda, p);
+ polarisation_correction(new_refl, crystal_get_cell(cr), p);
if ( reference != NULL ) {
if ( do_scale ) {