aboutsummaryrefslogtreecommitdiff
path: root/src/facetron.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/facetron.c
parentdf8c88903686266ae406dc8842d4e5cf2c4e3b95 (diff)
Allow selected reflections to change
This partially reverts a2611c8c2acf977eddac2d1a372760383d395da5.
Diffstat (limited to 'src/facetron.c')
-rw-r--r--src/facetron.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/facetron.c b/src/facetron.c
index dd82256a..78a4b72b 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -102,7 +102,7 @@ static void refine_image(int mytask, void *tasks)
return;
}
- spots = find_intersections(image, image->indexed_cell, &n, 0, NULL);
+ spots = find_intersections(image, image->indexed_cell, &n, 0);
dev = +INFINITY;
i = 0;
do {
@@ -166,7 +166,7 @@ static void integrate_image(int mytask, void *tasks)
}
/* Figure out which spots should appear in this pattern */
- spots = find_intersections(image, image->indexed_cell, &n, 0, NULL);
+ spots = find_intersections(image, image->indexed_cell, &n, 0);
/* For each reflection, estimate the partiality */
for ( j=0; j<n; j++ ) {