aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/partial_sim.c3
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");