diff options
author | Thomas White <taw@physics.org> | 2019-05-17 17:03:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-29 10:42:04 +0200 |
commit | 94b0050cc7735c3e1635cbc89c13c6b2c49c69c8 (patch) | |
tree | 009039e182541db4544683632c9153ff46fa27ef /src/partial_sim.c | |
parent | 36e3370feddeb8dd18f97dc5db4da8e96c9f5c79 (diff) |
Use Spectrum API for simulation
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r-- | src/partial_sim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 92f9703c..0ea45ad4 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -841,8 +841,7 @@ int main(int argc, char *argv[]) image.crystals = NULL; image.n_crystals = 0; image.indexed_by = INDEXING_SIMULATION; - image.spectrum_size = 0; - image.spectrum0 = NULL; + image.spectrum = NULL; image.serial = 0; image.event = NULL; |