aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index c12a9889..a9389b2f 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -860,7 +860,7 @@ struct image *image_new()
image->serial = 0;
image->spectrum = NULL;
image->lambda = -1.0;
- image->div = -1.0;
+ image->div = 0.0;
image->bw = -1.0;
image->peak_resolution = -1.0;
image->features = NULL;