diff options
author | Thomas White <taw@physics.org> | 2015-04-04 15:57:59 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-20 12:55:44 +0200 |
commit | 4a5c2b7ac8c1c514a33d575a9a9ecba69a2129d3 (patch) | |
tree | 3aa5a4f02fe681218a18d626c041fd9e082fe821 | |
parent | 1bc3157cb6c11e3572d13f3bc228f05b8d1153b5 (diff) |
partial_sim: Initialise stuff
-rw-r--r-- | src/partial_sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 411e47ad..867183da 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -791,6 +791,7 @@ int main(int argc, char *argv[]) free(output_file); image.det = det; + image.beam = &beam; image.width = det->max_fs + 1; image.height = det->max_ss + 1; @@ -805,6 +806,8 @@ int main(int argc, char *argv[]) image.num_peaks = 0; image.num_saturated_peaks = 0; image.spectrum_size = 0; + image.spectrum = NULL; + image.serial = 0; image.event = NULL; STATUS("Simulation parameters:\n"); |