diff options
author | Thomas White <taw@physics.org> | 2014-11-17 11:06:42 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-11-17 11:06:42 +0100 |
commit | 8a88f9bdd200645ceb30a2c136b865528c40b1ee (patch) | |
tree | 2e37d474f05c1a5f39b2712de8f9114fabde5426 /libcrystfel/src/detector.c | |
parent | 3f58055d53717a21ea36229445bdeaa1fbc4afbf (diff) |
Tolerate having no wavelength
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 486fb32e..e29b6d39 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -930,7 +930,7 @@ struct detector *get_detector_geometry(const char *filename, } if ( beam != NULL ) { - beam->photon_energy = -1.0; + beam->photon_energy = 0.0; beam->photon_energy_from = NULL; beam->photon_energy_scale = 1.0; } |