aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-05 20:02:22 +0200
committerThomas White <taw@bitwiz.org.uk>2010-06-05 20:02:22 +0200
commit8ead809d4fb09047e7c146d405dbc0e97103ec3c (patch)
treed05b218def2ebffb0460905ca8214ca53735d819 /src/indexamajig.c
parent509f08dc3216bdb80e04e012e916c019dea31355 (diff)
pattern_sim: Implement phased gradients
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index c365048a..e9f936b1 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -216,7 +216,8 @@ static void simulate_and_write(struct image *simage, struct gpu_context **gctx,
get_diffraction_gpu(*gctx, simage, 24, 24, 40, cell);
} else {
get_diffraction(simage, 24, 24, 40,
- intensities, counts, cell, 0, GRADIENT_MOSAIC);
+ intensities, counts, NULL, cell, 0,
+ GRADIENT_MOSAIC);
}
record_image(simage, 0);
@@ -508,7 +509,7 @@ int main(int argc, char *argv[])
if ( intfile != NULL ) {
counts = new_list_count();
- intensities = read_reflections(intfile, counts);
+ intensities = read_reflections(intfile, counts, NULL);
} else {
intensities = NULL;
counts = NULL;