aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/check_hkl.c4
-rw-r--r--src/compare_hkl.c2
-rw-r--r--src/reflist-utils.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/src/check_hkl.c b/src/check_hkl.c
index 903188a1..d220252d 100644
--- a/src/check_hkl.c
+++ b/src/check_hkl.c
@@ -3,7 +3,7 @@
*
* Characterise reflection lists
*
- * (c) 2006-2010 Thomas White <taw@physics.org>
+ * (c) 2006-2011 Thomas White <taw@physics.org>
*
* Part of CrystFEL - crystallography with a FEL
*
@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
/* Reject some reflections */
list = reflist_new();
- for ( refl = first_refl(list, &iter);
+ for ( refl = first_refl(raw_list, &iter);
refl != NULL;
refl = next_refl(refl, iter) ) {
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 16a744ea..60415c4b 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -3,7 +3,7 @@
*
* Compare reflection lists
*
- * (c) 2006-2010 Thomas White <taw@physics.org>
+ * (c) 2006-2011 Thomas White <taw@physics.org>
*
* Part of CrystFEL - crystallography with a FEL
*
diff --git a/src/reflist-utils.c b/src/reflist-utils.c
index 7ed4f54e..281a871c 100644
--- a/src/reflist-utils.c
+++ b/src/reflist-utils.c
@@ -271,6 +271,7 @@ RefList *read_reflections_from_file(FILE *fh)
set_int(refl, intensity);
set_detector_pos(refl, fs, ss, 0.0);
set_esd_intensity(refl, sigma);
+ set_redundancy(refl, cts);
ph = strtod(phs, &v);
if ( v != NULL ) set_ph(refl, ph);