summaryrefslogtreecommitdiff
path: root/src/lib/tng_io.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-28 10:43:21 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-11-28 10:43:21 (GMT)
commit049ac4ef9845fc87bef52265e25b024598996e6f (patch)
treec1058496f9da3589b104dd67fa3b4ba126140103 /src/lib/tng_io.c
parentc61e697a14c4729a20a93e7aaf4b8e6d014587f8 (diff)
Another minor fix.
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r--src/lib/tng_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 23b1620..c6d70f2 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -7336,6 +7336,7 @@ tng_function_status DECLSPECDLLEXPORT tng_molecule_system_copy(tng_trajectory_t
}
tng_data_dest->n_molecules = 0;
+ tng_data_dest->n_particles = 0;
molecule_temp = realloc(tng_data_dest->molecules,
sizeof(struct tng_molecule) * tng_data_src->n_molecules);
contact: Jan Huwald // Impressum