diff options
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c index 97cf3887..0c656042 100644 --- a/src/index.c +++ b/src/index.c @@ -42,7 +42,8 @@ static IndexingPrivate *indexing_private(IndexingMethod indm) IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell, - const char *filename, struct detector *det) + const char *filename, struct detector *det, + double nominal_photon_energy) { switch ( indm ) { case INDEXING_NONE : @@ -50,7 +51,8 @@ IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell, case INDEXING_DIRAX : return indexing_private(indm); case INDEXING_TEMPLATE : - return generate_templates(cell, filename, det); + return generate_templates(cell, filename, det, + nominal_photon_energy); } return 0; } |