aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-28 14:46:19 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit013c762b667a0fede74377cb0f9799d3b3262640 (patch)
tree7959944636531421246917a81226321f9bab5eca /libcrystfel/src/integration.c
parent4ac5b40dd5f7e4dadf98fa85408ca9230c3d7dbb (diff)
Expose a couple more functions for easier testing
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 3c1dba0d..8f81dc10 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1372,11 +1372,11 @@ static void setup_profile_boxes(struct intcontext *ic, RefList *list)
}
-static void integrate_prof2d(IntegrationMethod meth,
- Crystal *cr, struct image *image, IntDiag int_diag,
- signed int idh, signed int idk, signed int idl,
- double ir_inn, double ir_mid, double ir_out,
- pthread_mutex_t *term_lock, int **masks)
+void integrate_prof2d(IntegrationMethod meth,
+ Crystal *cr, struct image *image, IntDiag int_diag,
+ signed int idh, signed int idk, signed int idl,
+ double ir_inn, double ir_mid, double ir_out,
+ pthread_mutex_t *term_lock, int **masks)
{
RefList *list;
UnitCell *cell;
@@ -1855,4 +1855,3 @@ IntegrationMethod integration_method(const char *str, int *err)
return meth;
}
-