diff options
author | Thomas White <taw@physics.org> | 2014-10-23 13:01:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-10-23 17:02:33 +0200 |
commit | 5837aff31eaf429c0799805939dc2da1587556fe (patch) | |
tree | c5cfe0f695dc7be19646beaf08a5c9506e7a4cc5 /libcrystfel | |
parent | 48e9dee193b537d6efa1ddeac47e7ea8c0d2f1f4 (diff) |
Initialise photon_energy_from
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/detector.c | 1 |
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; |