aboutsummaryrefslogtreecommitdiff
path: root/tests/integration_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_check.c')
-rw-r--r--tests/integration_check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 80a214d1..57bb3589 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -321,8 +321,7 @@ int main(int argc, char *argv[])
image.height = 128;
memset(image.data, 0, 128*128*sizeof(float));
- image.beam = calloc(1, sizeof(struct beam_params));
- image.beam->adu_per_photon = 100.0;
+ image.beam = NULL;
/* First check: no intensity -> zero intensity and bg */
integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma);