diff options
-rw-r--r-- | src/Storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage.c b/src/Storage.c index 3ae2428..acfec4b 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -672,7 +672,7 @@ static int PUGH_EnableGArrayGroupStorage (pGH *pughGH, GA->padddata = NULL; } - if (GA->extras->npoints * GA->varsize <= 0) + if (GA->extras->npoints * GA->varsize * GA->vector_size <= 0) { /* only warn if the global array size is also zero */ for (i = 0, global_size = 1; i < GA->extras->dim; i++) |