aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-04-16 14:09:59 +0200
committerThomas White <taw@physics.org>2013-04-16 14:09:59 +0200
commitb3f246e5c287670d06f3538d4d533d7c6d2e08ab (patch)
treecc1b4675b72901dcaf2fc528e01330df4fa4d71f /tests
parente53110088bc818ef5b551b65bdaf702d9f04efc5 (diff)
Remove "use_saturated" argument to integrate_peak()
There are no side-effects to setting it either way, and the caller can just set saturated=NULL or ignore the result.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_check.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 659eb7cc..ac871581 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -65,7 +65,7 @@ static void third_integration_check(struct image *image, int n_trials,
r = integrate_peak(image, 64, 64, &fsp, &ssp,
&intensity, &sigma, 10.0, 15.0, 17.0,
- 0, NULL, NULL);
+ NULL, NULL);
if ( r == 0 ) {
mean_intensity += intensity;
@@ -127,7 +127,7 @@ static void fourth_integration_check(struct image *image, int n_trials,
r = integrate_peak(image, 64, 64, &fsp, &ssp,
&intensity, &sigma, 10.0, 15.0, 17.0,
- 0, NULL, NULL);
+ NULL, NULL);
if ( r == 0 ) {
mean_intensity += intensity;
@@ -210,7 +210,7 @@ int main(int argc, char *argv[])
/* First check: no intensity -> no peak, or very low intensity */
r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma,
- 10.0, 15.0, 17.0, 0, NULL, NULL);
+ 10.0, 15.0, 17.0, NULL, NULL);
STATUS(" First check: integrate_peak() returned %i", r);
if ( r == 0 ) {
@@ -236,7 +236,7 @@ int main(int argc, char *argv[])
}
r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma,
- 10.0, 15.0, 17.0, 0, NULL, NULL);
+ 10.0, 15.0, 17.0, NULL, NULL);
if ( r ) {
ERROR(" Second check: integrate_peak() returned %i (wrong).\n",
r);
@@ -278,7 +278,7 @@ int main(int argc, char *argv[])
}
r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma,
- 10.0, 15.0, 17.0, 0, NULL, NULL);
+ 10.0, 15.0, 17.0, NULL, NULL);
if ( r ) {
ERROR(" Fifth check: integrate_peak() returned %i (wrong).\n",
r);