diff options
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 706dfa7b..d1696969 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -239,7 +239,7 @@ static void process_image(const struct index_args *iargs, fill_in_beamParam(beam, hdfile); } image.lambda = ph_en_to_lambda(eV_to_J(beam->photon_energy)); - + if ( image.lambda < 0.0 ) { if ( beam != NULL ) { ERROR("Using nominal photon energy of %.2f eV\n", |