diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/beam-parameters.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/beam-parameters.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/beam-parameters.c b/libcrystfel/src/beam-parameters.c index 2e4f5302..2236fddb 100644 --- a/libcrystfel/src/beam-parameters.c +++ b/libcrystfel/src/beam-parameters.c @@ -90,7 +90,7 @@ struct beam_params *get_beam_parameters(const char *filename) } else if ( strcmp(bits[0], "beam/photon_energy") == 0 ) { if ( strncmp(bits[2], "/", 1) == 0 ) { b->photon_energy = 0; // 0 means special case - b->photon_energy_from = strdup(bits[2]); + b->photon_energy_from = strdup(bits[2]); } else { b->photon_energy = atof(bits[2]); } diff --git a/libcrystfel/src/beam-parameters.h b/libcrystfel/src/beam-parameters.h index 36cfaa55..e0b16895 100644 --- a/libcrystfel/src/beam-parameters.h +++ b/libcrystfel/src/beam-parameters.h @@ -48,7 +48,7 @@ struct beam_params double divergence; /* divergence (radians) */ double profile_radius; /* Reciprocal space size of a reflection */ - + char *photon_energy_from; /* hdf5 group name */ }; |