aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-01 17:10:41 +0100
committerThomas White <taw@physics.org>2010-03-01 17:52:03 +0100
commitf213d4dc787d4d6edb8981c41138f4ace1e2f324 (patch)
treeb9e3b4d59993474a6c5e4c769d3d4f75638b04c1 /src/indexamajig.c
parent8c01976e4bc6670c6f824479357c42caa18fb2ff (diff)
Use a lookup table for sinc values in GPU calculation
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 5033b73c..22bc2ea4 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -242,10 +242,10 @@ int main(int argc, char *argv[])
if ( config_gpu ) {
if ( gctx == NULL ) {
gctx = setup_gpu(0, &image,
- image.molecule);
+ image.molecule,
+ 24, 24, 40);
}
- get_diffraction_gpu(gctx, &image,
- 24, 24, 40);
+ get_diffraction_gpu(gctx, &image);
} else {
get_diffraction(&image, 8, 8, 8, 0, 0);
}