aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-06 17:25:03 +0200
committerThomas White <taw@physics.org>2017-07-06 17:25:03 +0200
commit92d00d19d5b4a6b72a35183bea6a83a4062e5eca (patch)
tree19a09b5daab3c8536db014abb6f12f1917da3092 /libcrystfel
parent5292f57d4434c7267e8d945871513d742ff42427 (diff)
Fix typo
Diffstat (limited to 'libcrystfel')
-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++ ) {