From 0ba6ac905f656be5fbdda0f681e618789c1e3a27 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 22 Sep 2017 16:30:23 +0200 Subject: Don't send detector and tolerance to indexing methods The detector isn't used for anything, and the tolerance is none of their business. --- libcrystfel/src/asdf.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libcrystfel/src/asdf.h') diff --git a/libcrystfel/src/asdf.h b/libcrystfel/src/asdf.h index f130d63d..7f110960 100644 --- a/libcrystfel/src/asdf.h +++ b/libcrystfel/src/asdf.h @@ -45,9 +45,7 @@ extern "C" { extern int run_asdf(struct image *image, void *ipriv); -extern void *asdf_prepare(IndexingMethod *indm, - UnitCell *cell, struct detector *det, - float *ltl); +extern void *asdf_prepare(IndexingMethod *indm, UnitCell *cell); extern void asdf_cleanup(void *pp); @@ -60,9 +58,7 @@ int run_asdf(struct image *image, void *ipriv) } -void *asdf_prepare(IndexingMethod *indm, - UnitCell *cell, struct detector *det, - float *ltl) +void *asdf_prepare(IndexingMethod *indm, UnitCell *cell) { ERROR("This copy of CrystFEL was compiled without FFTW support.\n"); ERROR("To use asdf indexing, recompile with FFTW.\n"); -- cgit v1.2.3