aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 683fdd49..5dad09d6 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -918,6 +918,7 @@ struct detector *get_detector_geometry(const char *filename,
}
beam->photon_energy = -1.0;
+ beam->photon_energy_from = NULL;
beam->photon_energy_scale = 1.0;
det->n_panels = 0;