summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-10 10:54:38 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-10 10:54:38 (GMT)
commitff50434a9988298d239cca748987d8a9ece5b0ac (patch)
tree5beef0ee174b470cafa359ba9dd377a60013321b /src/tests
parentc88da957d403baf383bac28cd598c4039c3de45c (diff)
Do not automatically clear particle mappings when adding new frame set.
Make tng_frame_set_particle_mappings_free() public.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/tng_io_testing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c
index ff41024..3899b15 100644
--- a/src/tests/tng_io_testing.c
+++ b/src/tests/tng_io_testing.c
@@ -286,6 +286,8 @@ static tng_function_status tng_test_write_and_read_traj(tng_trajectory_t *traj)
return(TNG_CRITICAL);
}
+ tng_frame_set_particle_mapping_free(*traj);
+
/* Setup particle mapping. Use 4 different mapping blocks with arbitrary
* mappings. */
for(k=0; k<150; k++)
contact: Jan Huwald // Impressum