aboutsummaryrefslogtreecommitdiff
path: root/src/templates.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates.c')
-rw-r--r--src/templates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.c b/src/templates.c
index 57434473..4bd85a76 100644
--- a/src/templates.c
+++ b/src/templates.c
@@ -172,7 +172,7 @@ IndexingPrivate *generate_templates(UnitCell *cell, const char *filename,
cell_rot = rotate_cell(cell, omega, phi, 0.0);
- cpeaks = find_intersections(&image, cell_rot, &n, 0, NULL);
+ cpeaks = find_intersections(&image, cell_rot, &n, 0);
if ( cpeaks == NULL ) {
ERROR("Template calculation failed.\n");
return NULL;