aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 48c26d0f..ae13f147 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -317,7 +317,7 @@ int main(int argc, char *argv[])
RefList *as;
- images[n_usable_patterns].det = NULL;
+ images[n_usable_patterns].det = det;
if ( read_chunk(fh, &images[n_usable_patterns]) != 0 ) {
/* Should not happen, because we counted the patterns
@@ -336,7 +336,6 @@ int main(int argc, char *argv[])
/* Fill in initial estimates of stuff */
images[n_usable_patterns].div = beam->divergence;
images[n_usable_patterns].bw = beam->bandwidth;
- images[n_usable_patterns].det = det;
images[n_usable_patterns].width = det->max_fs;
images[n_usable_patterns].height = det->max_ss;
images[n_usable_patterns].osf = 1.0;