aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-26 12:20:41 +0200
committerThomas White <taw@physics.org>2012-03-26 12:20:41 +0200
commit24ffcf8c41c17931fa36d7c606644945aeb8e454 (patch)
tree83799854276f6cdedfe25ac5a65c87a71c52244f /libcrystfel
parent720c8726ddf071e3b1cbe893c1d774ddf75ebc30 (diff)
Make sure 'diffracting_resolution' is set
I'm sure I've fixed this bug many times before...
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index 544dd777..0d4ce64b 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -678,5 +678,7 @@ void integrate_reflections(struct image *image, int use_closer, int bgsub,
}
}
+ image->diffracting_resolution = 0.0;
+
free(il);
}