aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indexamajig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 30e6facf..c7f0279c 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -245,6 +245,8 @@ int main(int argc, char *argv[])
image.data = NULL;
+ image.molecule->cell = image.indexed_cell;
+
if ( config_gpu ) {
if ( gctx == NULL ) {
gctx = setup_gpu(0, &image,