aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-10 12:14:25 +0100
committerThomas White <taw@physics.org>2010-03-10 12:14:25 +0100
commitbda63e5f6eeed249f0effb4f990e887b3912dad6 (patch)
tree42070462d4c14d9e3b2cdc657a12c1f374d8d9c3 /src/indexamajig.c
parentfd8f9222599951749edf3c6ba27289da04d84b82 (diff)
Allow multiple sinc LUTs
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index f1c5f743..93a95922 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -119,12 +119,11 @@ static void simulate_and_write(struct image *template,
/* Set up GPU if necessary */
if ( *gctx == NULL ) {
- *gctx = setup_gpu(0, &image, image.molecule,
- 24, 24, 40);
+ *gctx = setup_gpu(0, &image, image.molecule);
}
if ( *gctx != NULL ) {
- get_diffraction_gpu(*gctx, &image);
+ get_diffraction_gpu(*gctx, &image, 8, 8, 8);
} else {
get_diffraction(&image, 8, 8, 8, 0, 0);
}