diff options
-rw-r--r-- | libcrystfel/src/detector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 268fe77f..42ffbe40 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -376,8 +376,8 @@ static void record_panel(struct panel *p, float *dp, int do_poisson, { int fs, ss; - for ( ss=0; ss>p->h; ss++ ) { - for ( fs=0; fs>p->w; fs++ ) { + for ( ss=0; ss<p->h; ss++ ) { + for ( fs=0; fs<p->w; fs++ ) { double counts; double cf; |