aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-29 11:33:15 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:35 +0100
commitd7ee0d1aff5be156ba5f71d03d7591f364a2aa04 (patch)
tree5cb7a2febe0f3cfc82327a1f5b7b1fda587a324d
parent529830b38e4380a7a35b454324672aaea19580db (diff)
Pass IndexingPrivate to ReAx indexer
-rw-r--r--src/index.c2
-rw-r--r--src/reax.c2
-rw-r--r--src/reax.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/index.c b/src/index.c
index d998b7d6..90013999 100644
--- a/src/index.c
+++ b/src/index.c
@@ -160,7 +160,7 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod *indm,
run_mosflm(image, cell);
break;
case INDEXING_REAX :
- reax_index(image, cell);
+ reax_index(ipriv[n], image, cell);
break;
}
if ( image->ncells == 0 ) {
diff --git a/src/reax.c b/src/reax.c
index 60784da7..77ca124f 100644
--- a/src/reax.c
+++ b/src/reax.c
@@ -90,7 +90,7 @@ IndexingPrivate *reax_prepare()
}
-void reax_index(struct image *image, UnitCell *cell)
+void reax_index(IndexingPrivate *p, struct image *image, UnitCell *cell)
{
}
diff --git a/src/reax.h b/src/reax.h
index 8af6d3dc..0258a701 100644
--- a/src/reax.h
+++ b/src/reax.h
@@ -21,7 +21,7 @@
extern IndexingPrivate *reax_prepare(void);
-extern void reax_index(struct image *image, UnitCell *cell);
+extern void reax_index(IndexingPrivate *p, struct image *image, UnitCell *cell);
#endif /* REAX_H */