aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-23 13:01:35 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:33 +0200
commit5837aff31eaf429c0799805939dc2da1587556fe (patch)
treec5cfe0f695dc7be19646beaf08a5c9506e7a4cc5 /libcrystfel/src/detector.c
parent48e9dee193b537d6efa1ddeac47e7ea8c0d2f1f4 (diff)
Initialise photon_energy_from
Diffstat (limited to 'libcrystfel/src/detector.c')
-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;