diff options
author | Thomas White <taw@physics.org> | 2019-08-28 17:01:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-08-28 17:01:43 +0200 |
commit | f8f0ed90db33db65b3263d7013c973ca3f01ccd0 (patch) | |
tree | 24966bf5c7087742268f47eae89314b91b9dbb1b /tests/prof2d_check.c | |
parent | b23a17607be7f08b85b3fa4bcc3e66315bc1d8a6 (diff) |
prediction_gradient_check, prof2d_check: Set up Spectrum structure
Diffstat (limited to 'tests/prof2d_check.c')
-rw-r--r-- | tests/prof2d_check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c index 803e60c4..ed87ae30 100644 --- a/tests/prof2d_check.c +++ b/tests/prof2d_check.c @@ -85,6 +85,7 @@ int main(int argc, char *argv[]) image.lambda = ph_eV_to_lambda(9000.0); image.bw = 0.000001; image.div = 0.0; + image.spectrum = spectrum_generate_gaussian(image.lambda, image.bw); image.det = calloc(1, sizeof(struct detector)); image.det->n_panels = 1; |