aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/hdf5-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 08e1c5e3..1ee61245 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -549,8 +549,8 @@ static int unpack_panels(struct image *image, struct detector *det)
return 1;
}
- for ( fs=0; fs<p->w; fs++ ) {
for ( ss=0; ss<p->h; ss++ ) {
+ for ( fs=0; fs<p->w; fs++ ) {
int idx;
int cfs, css;