diff options
author | Thomas White <taw@physics.org> | 2019-06-25 17:10:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-06-25 17:10:33 +0200 |
commit | 53f71ffbc5b0202e872bd606c91130d99145b783 (patch) | |
tree | 31463791c06fe97c8434d6a9652ffbbafd2c648e | |
parent | 46d7ed714efab8c7db8ee253f5ea5eb0f588631b (diff) |
partial_sim: Add missing initialisations
-rw-r--r-- | src/partial_sim.c | 4 |
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", |