diff options
-rw-r--r-- | src/pattern_sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index f724057e..262e3976 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -696,6 +696,9 @@ int main(int argc, char *argv[]) powder.width = image.width; powder.height = image.height; powder.det = image.det; + powder.beam = NULL; + powder.lambda = 0.0; + powder.spectrum = NULL; powder.dp = malloc(image.det->n_panels*sizeof(float *)); if ( powder.dp == NULL ) { ERROR("Failed to allocate powder data\n"); |