diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-28 10:43:21 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-28 10:43:21 (GMT) |
commit | 049ac4ef9845fc87bef52265e25b024598996e6f (patch) | |
tree | c1058496f9da3589b104dd67fa3b4ba126140103 /src/lib/tng_io.c | |
parent | c61e697a14c4729a20a93e7aaf4b8e6d014587f8 (diff) |
Another minor fix.
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r-- | src/lib/tng_io.c | 1 |
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); |