aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.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/pattern_sim.c
parentfd8f9222599951749edf3c6ba27289da04d84b82 (diff)
Allow multiple sinc LUTs
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 4eee7c57..65e020ac 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -276,9 +276,9 @@ int main(int argc, char *argv[])
if ( config_gpu ) {
if ( gctx == NULL ) {
gctx = setup_gpu(config_nosfac, &image,
- image.molecule, na, nb, nc);
+ image.molecule);
}
- get_diffraction_gpu(gctx, &image);
+ get_diffraction_gpu(gctx, &image, na, nb, nc);
} else {
get_diffraction(&image, na, nb, nc, config_nosfac,
!config_nowater);