From ce84f85af58dc8f103edd9453b287dfe06c93b7c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Apr 2014 15:39:24 +0200 Subject: Avoid breaking API with integrate_all() --- libcrystfel/src/integration.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'libcrystfel/src/integration.c') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index bf8cfadd..46e1451d 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1799,10 +1799,11 @@ static void apply_resolution_cutoff(Crystal *cr, double res) } -void integrate_all(struct image *image, IntegrationMethod meth, double push_res, - double ir_inn, double ir_mid, double ir_out, - IntDiag int_diag, - signed int idh, signed int idk, signed int idl) +void integrate_all_2(struct image *image, IntegrationMethod meth, + double push_res, + double ir_inn, double ir_mid, double ir_out, + IntDiag int_diag, + signed int idh, signed int idk, signed int idl) { int i; @@ -1847,6 +1848,16 @@ void integrate_all(struct image *image, IntegrationMethod meth, double push_res, } +void integrate_all(struct image *image, IntegrationMethod meth, + double ir_inn, double ir_mid, double ir_out, + IntDiag int_diag, + signed int idh, signed int idk, signed int idl) +{ + integrate_all_2(image, meth, 0.0, ir_inn, ir_mid, ir_out, + int_diag, idh, idk, idl); +} + + IntegrationMethod integration_method(const char *str, int *err) { int n, i; -- cgit v1.2.3