diff options
-rw-r--r-- | src/partial_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 7ae26f20..d0c2bd5a 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -897,12 +897,12 @@ int main(int argc, char *argv[]) image.lambda = ph_en_to_lambda(eV_to_J(photon_energy)); image.div = divergence; image.bw = bandwidth; + image.spectrum = spectrum_generate_gaussian(image.lambda, image.bw); image.filename = "dummy.h5"; image.copyme = NULL; image.crystals = NULL; image.n_crystals = 0; image.indexed_by = INDEXING_SIMULATION; - image.spectrum = NULL; image.serial = 0; image.event = NULL; image.hit = 0; |