diff options
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 4 |
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); |