diff options
author | Thomas White <taw@physics.org> | 2010-08-17 18:27:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:55 +0100 |
commit | 3bfd8f444202eb427debdd3f218aa31fa0a35590 (patch) | |
tree | 165f668da882fe8ab9734a535483ede85850e3d3 /src/index.c | |
parent | 93aa7b124f6f971f253326f347d5104d96f14d6e (diff) |
Use detector geometry when generating templates
Also, add progress bar.
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c index 7273d64b..2a5eb5b7 100644 --- a/src/index.c +++ b/src/index.c @@ -42,7 +42,7 @@ static IndexingPrivate *indexing_private(IndexingMethod indm) IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell, - const char *filename) + const char *filename, struct detector *det) { switch ( indm ) { case INDEXING_NONE : @@ -50,7 +50,7 @@ IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell, case INDEXING_DIRAX : return indexing_private(indm); case INDEXING_TEMPLATE : - return generate_templates(cell, filename); + return generate_templates(cell, filename, det); } return 0; } |