aboutsummaryrefslogtreecommitdiff
path: root/src/templates.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-22 11:39:07 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:06 +0100
commit95588bbf411aa46473ad098125a65012f2df68fc (patch)
tree2a7c74ce5f29a5c52ecd5c242d5c4d1cf7a4ede4 /src/templates.c
parent20d05388833bd9f3b6819d82f983eea424663407 (diff)
Don't change which reflections are used for refinement until the next macrocycle
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 4bd85a76..57434473 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);
+ cpeaks = find_intersections(&image, cell_rot, &n, 0, NULL);
if ( cpeaks == NULL ) {
ERROR("Template calculation failed.\n");
return NULL;