diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/image-msgpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c index d1752f91..0fdb104c 100644 --- a/libcrystfel/src/image-msgpack.c +++ b/libcrystfel/src/image-msgpack.c @@ -426,7 +426,7 @@ static int load_msgpack_data(struct panel_template *p, size_t idx = fs+p->orig_min_fs + (ss+p->orig_min_ss)*data_size_fs; data[fs+ss*PANEL_WIDTH(p)] = in_data[idx]; if ( !isfinite(in_data[idx]) ) { - bad[idx] = 1; + bad[fs+ss*PANEL_WIDTH(p)] = 1; } } } |