From 9380767017fce2478a1460cab42d5f62a48a0404 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 13 Apr 2011 12:10:47 +0200 Subject: process_hkl: Initialise image.det to NULL to avoid updating the geometry in read_chunk() --- src/process_hkl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/process_hkl.c') diff --git a/src/process_hkl.c b/src/process_hkl.c index 4dc49128..e5a1f4d0 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -305,6 +305,8 @@ static void merge_all(FILE *fh, RefList *model, struct image image; + image.det = NULL; + /* Get data from next chunk */ rval = read_chunk(fh, &image); if ( rval ) break; -- cgit v1.2.3