aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/xgandalf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/xgandalf.c')
-rw-r--r--libcrystfel/src/indexers/xgandalf.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/libcrystfel/src/indexers/xgandalf.c b/libcrystfel/src/indexers/xgandalf.c
index ada0507a..d83af6cb 100644
--- a/libcrystfel/src/indexers/xgandalf.c
+++ b/libcrystfel/src/indexers/xgandalf.c
@@ -35,6 +35,7 @@
#include "utils.h"
#include "cell-utils.h"
#include "peaks.h"
+#include "index.h"
#ifdef HAVE_XGANDALF
#include "xgandalf/adaptions/crystfel/Lattice.h"
@@ -44,16 +45,6 @@
/** \file xgandalf.h */
-struct xgandalf_options {
- unsigned int sampling_pitch;
- unsigned int grad_desc_iterations;
- float tolerance;
- unsigned int no_deviation_from_provided_cell;
- float minLatticeVectorLength_A;
- float maxLatticeVectorLength_A;
- int maxPeaksForIndexing;
-};
-
#ifdef HAVE_XGANDALF
struct xgandalf_private_data {
@@ -387,9 +378,9 @@ static void xgandalf_show_help()
}
-int xgandalf_default_options(XGandalfOptions **opts_ptr)
+int xgandalf_default_options(struct xgandalf_options **opts_ptr)
{
- XGandalfOptions *opts;
+ struct xgandalf_options *opts;
opts = malloc(sizeof(struct xgandalf_options));
if ( opts == NULL ) return ENOMEM;