aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-07-21 10:13:26 +0200
committerThomas White <taw@physics.org>2014-07-21 10:15:19 +0200
commit7ca19e41730aaa036609e5842bd212437245f75c (patch)
tree2e8d5fdb1a1a0ebb6233564d09979cc9c4b53f2e /libcrystfel
parentf71e65321d6546b9d36ee5bbdc65209456505a73 (diff)
Swap loop order in unpack_panels()
Diffstat (limited to 'libcrystfel')
-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;