aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/taketwo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index 605ced7f..7ae77f4a 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -1518,7 +1518,7 @@ int taketwo_index(struct image *image, void *priv)
struct rvec *rlps;
int n_rlps = 0;
int i;
- struct taketwo_private *tp = (struct taketwo_private *)ipriv;
+ struct taketwo_private *tp = (struct taketwo_private *)priv;
rlps = malloc((image_feature_count(image->features)+1)*sizeof(struct rvec));
for ( i=0; i<image_feature_count(image->features); i++ ) {