aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/partial_sim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 0ea45ad4..b14a51c6 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -844,6 +844,10 @@ int main(int argc, char *argv[])
image.spectrum = NULL;
image.serial = 0;
image.event = NULL;
+ image.hit = 0;
+ image.n_indexing_tries = 1;
+ image.features = NULL;
+ image.peak_resolution = 0.0;
STATUS("Simulation parameters:\n");
STATUS(" Photon energy: %.2f eV (wavelength %.5f A)\n",