aboutsummaryrefslogtreecommitdiff
path: root/src/templates.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-22 16:56:32 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:07 +0100
commit24746060a47d220c016f34e3598665817e3d407d (patch)
tree606ca7847fe950f4222e9eac111fe76de39b6bd6 /src/templates.c
parentdf8c88903686266ae406dc8842d4e5cf2c4e3b95 (diff)
Allow selected reflections to change
This partially reverts a2611c8c2acf977eddac2d1a372760383d395da5.
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;