diff options
author | Thomas White <taw@physics.org> | 2014-06-25 16:01:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-06-25 16:01:51 +0200 |
commit | cf34597c5f8583f68eaad22d85c849e1050c922b (patch) | |
tree | 4bf919b7591cc6f701157bb48885238e4b3afbfc /tests/prof2d_check.c | |
parent | def8bd0c541252e7f606c9286912eb67d3ac5929 (diff) |
Pass the partiality model down from the API level
Diffstat (limited to 'tests/prof2d_check.c')
-rw-r--r-- | tests/prof2d_check.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c index f1665a6c..75b9748e 100644 --- a/tests/prof2d_check.c +++ b/tests/prof2d_check.c @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) image.n_crystals = 1; image.crystals = &cr; - list = find_intersections(&image, cr); + list = find_intersections(&image, cr, PMODEL_SPHERE); for ( fs=0; fs<w; fs++ ) { for ( ss=0; ss<h; ss++ ) { @@ -176,8 +176,8 @@ int main(int argc, char *argv[]) STATUS("%i strong, %i weak\n", n_strong, n_weak); reflist_free(list); /* integrate_prof2d() will predict again */ - integrate_prof2d(INTEGRATION_PROF2D, cr, &image, INTDIAG_NONE, 0, 0, 0, - ir_inn, ir_mid, ir_out); + integrate_prof2d(INTEGRATION_PROF2D, PMODEL_SPHERE, cr, &image, + INTDIAG_NONE, 0, 0, 0, ir_inn, ir_mid, ir_out); list = crystal_get_reflections(cr); printf("Weak reflections:\n"); |