diff --git a/src/USER-MISC/compute_gyration_shape_chunk.cpp b/src/USER-MISC/compute_gyration_shape_chunk.cpp index b493455ebf..116d851024 100644 --- a/src/USER-MISC/compute_gyration_shape_chunk.cpp +++ b/src/USER-MISC/compute_gyration_shape_chunk.cpp @@ -178,6 +178,7 @@ void ComputeGyrationShapeChunk::allocate() former_nchunks = current_nchunks; memory->create(shape_parameters,current_nchunks,6,"gyration/shape/chunk:shape_parameters"); array = shape_parameters; + size_array_rows = current_nchunks; } /* ----------------------------------------------------------------------