diff options
author | Thomas White <taw@physics.org> | 2021-10-20 12:13:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-10-20 12:13:04 +0200 |
commit | 9660ab57f5f95ed9b4dfec7f41ec5a553e2ed859 (patch) | |
tree | 701be4c41bc2db333d5ff57fbbb31a8a3ef28a52 | |
parent | b3ca8757af33d1d36c75e882275bb3f518e2235d (diff) |
Fussiness
-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", |