aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-09-11 11:28:21 +0200
committerThomas White <taw@physics.org>2019-09-12 16:35:52 +0200
commit8695e135823b6b6708713761dd41a0871551522c (patch)
tree6400de07c93c15d8f0d96a64ae3e9dbcac7f323a
parent8d8ce4a3c7b340c1ce7d538c29fd08c59190d288 (diff)
Restore default bandwidth (if not specified in geometry file)
-rw-r--r--libcrystfel/src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index aab72341..4d008e65 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -1215,7 +1215,7 @@ struct detector *get_detector_geometry_from_string(const char *string,
beam->photon_energy = 0.0;
beam->photon_energy_from = NULL;
beam->photon_energy_scale = 1.0;
- beam->bandwidth = 0.0;
+ beam->bandwidth = 0.00000001;
}
det->n_panels = 0;