aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/taketwo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/taketwo.c')
-rw-r--r--libcrystfel/src/indexers/taketwo.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libcrystfel/src/indexers/taketwo.c b/libcrystfel/src/indexers/taketwo.c
index 8ce33083..60bb6fed 100644
--- a/libcrystfel/src/indexers/taketwo.c
+++ b/libcrystfel/src/indexers/taketwo.c
@@ -102,14 +102,6 @@
#include "peaks.h"
#include "symmetry.h"
-struct taketwo_options
-{
- int member_thresh;
- double len_tol;
- double angle_tol;
- double trace_tol;
-};
-
/**
* \param obsvec an observed vector between two spots
* \param matches array of matching theoretical vectors from unit cell
@@ -2284,9 +2276,9 @@ static void taketwo_show_help()
}
-int taketwo_default_options(TakeTwoOptions **opts_ptr)
+int taketwo_default_options(struct taketwo_options **opts_ptr)
{
- TakeTwoOptions *opts;
+ struct taketwo_options *opts;
opts = malloc(sizeof(struct taketwo_options));
if ( opts == NULL ) return ENOMEM;