diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/image-hdf5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c index 705670bb..129fb62c 100644 --- a/libcrystfel/src/image-hdf5.c +++ b/libcrystfel/src/image-hdf5.c @@ -1188,7 +1188,7 @@ static float *read_peak_line(hid_t fh, char *path, int line) H5Sget_simple_extent_dims(sh, size, max_size); tw = size[0]; - if ( line> tw-1 ) { + if ( line > tw-1 ) { H5Sclose(sh); H5Dclose(dh); ERROR("Data block %s does not contain data for required event.\n", |